Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp |
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
index 41ad27e7251ca8c39b3fbfb475e517bf1b6bd7c2..70fbf7f15bc36f1a3d104c79aefae6f7205fd51e 100644 |
--- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
@@ -2028,21 +2028,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); |
} |