Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp |
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
index a3354c1f3e7016d39fbb113e61e9e934b206a7a5..caf90552b4b69cd0c12743f8c5b2a7e7d0e7a19d 100644 |
--- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
@@ -1973,21 +1973,23 @@ struct SetContentsNeedsDisplayInRectFunctor { |
if (layer->drawsContent()) { |
IntRect layerDirtyRect = r; |
layerDirtyRect.move(-layer->offsetFromRenderer()); |
- layer->setNeedsDisplayInRect(layerDirtyRect); |
+ layer->setNeedsDisplayInRect(layerDirtyRect, annotations); |
} |
} |
IntRect r; |
+ WebInvalidationDebugAnnotations annotations; |
}; |
// r is in the coordinate space of the layer's render object |
-void CompositedLayerMapping::setContentsNeedDisplayInRect(const LayoutRect& r) |
+void CompositedLayerMapping::setContentsNeedDisplayInRect(const LayoutRect& r, WebInvalidationDebugAnnotations annotations) |
{ |
// FIXME: need to split out paint invalidations for the background. |
ASSERT(!paintsIntoCompositedAncestor()); |
SetContentsNeedsDisplayInRectFunctor functor = { |
- pixelSnappedIntRect(r.location() + m_owningLayer.subpixelAccumulation(), r.size()) |
+ pixelSnappedIntRect(r.location() + m_owningLayer.subpixelAccumulation(), r.size()), |
+ annotations |
}; |
ApplyToGraphicsLayers(this, functor, ApplyToContentLayers); |
} |