summaryrefslogtreecommitdiffstats
path: root/cc/tiled_layer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/tiled_layer.cc')
-rw-r--r--cc/tiled_layer.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc
index 67e6d8c..f69411f 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);
+
updateBounds();
if (m_tiler->hasEmptyBounds() || !drawsContent())
return;