Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1598)

Unified Diff: cc/tiled_layer.cc

Issue 11644035: cc: Invalidate the full tiled layer when contents scale changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scrollbar_layer.cc ('k') | cc/tiled_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer.cc
diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc
index 67e6d8c03a31f7ac15c8266f7b05bb9df32bf6f2..f69411f9fc1606ff0f450abac87a24a29c20b69c 100644
--- a/cc/tiled_layer.cc
+++ b/cc/tiled_layer.cc
@@ -633,6 +633,9 @@ void TiledLayer::updateScrollPrediction()
void TiledLayer::update(ResourceUpdateQueue& queue, const OcclusionTracker* occlusion, RenderingStats& stats)
{
DCHECK(!m_skipsDraw && !m_failedUpdate); // Did resetUpdateState get skipped?
+
+ ContentsScalingLayer::update(queue, occlusion, stats);
klobag.chromium 2012/12/20 00:40:58 Should this be after updateBounds()?
danakj 2012/12/20 00:52:28 This is acting as the ContentsScalingLayer's versi
+
updateBounds();
if (m_tiler->hasEmptyBounds() || !drawsContent())
return;
« no previous file with comments | « cc/scrollbar_layer.cc ('k') | cc/tiled_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698