| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 2bee39b3bbe77d163122873f20ebb097d53a526e..dd36e19f46593b4b3d481772c59c2fe2499bb4ba 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -1962,21 +1962,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);
|
| }
|
|
|