Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 0317f1b9204ec131df27aba84579ceed03404b95..c80c9bb0d936bf93b20f0aa2fe4136868db93ae6 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1107,7 +1107,8 @@ public: |
bool isPaintInvalidationContainer() const; |
// Invalidate the paint of a specific subrectangle within a given object. The rect is in the object's coordinate space. |
- void invalidatePaintRectangle(const LayoutRect&) const; |
+ // If a DisplayItemClient is specified, that client is invalidated rather than |this|. |
+ void invalidatePaintRectangle(const LayoutRect&, DisplayItemClient* = nullptr) const; |
// Walk the tree after layout issuing paint invalidations for layoutObjects that have changed or moved, updating bounds that have changed, and clearing paint invalidation state. |
virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); |