Index: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h |
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h |
index 83349e29d36a448aad524b7ce681028773a8e2e7..08b05b896198fc4b4da5341a6afd35eb687b8acd 100644 |
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h |
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h |
@@ -50,7 +50,8 @@ public: |
void invalidatePaintUsingContainer(const LayoutBoxModelObject& paintInvalidationContainer, const LayoutRect&, PaintInvalidationReason); |
// Invalidate the paint of a specific subrectangle within a given object. The rect is in the object's coordinate space. |
- void invalidatePaintRectangle(const LayoutRect&); |
+ // If a DisplayItemClient is specified, that client is invalidated rather than |m_object|. |
+ void invalidatePaintRectangle(const LayoutRect&, DisplayItemClient*); |
void invalidatePaintIncludingNonCompositingDescendants(); |
void invalidatePaintIncludingNonSelfPaintingLayerDescendants(const LayoutBoxModelObject& paintInvalidationContainer); |