| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| index cffef09efb130e30eaa221b0988326dc2f01cafb..20f3c560f6f7d8b8b40a73764bb12272a7c69def 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
|
| @@ -290,7 +290,9 @@ public:
|
| // Indicate that the contents of this layoutObject need to be repainted.
|
| // This only has an effect if compositing is being used.
|
| // The rect is in the physical coordinate space of this layout object.
|
| - void setBackingNeedsPaintInvalidationInRect(const LayoutRect&, PaintInvalidationReason, const LayoutObject&) const;
|
| + // If |scrollingContentsOnly| is true, only invalidates scrolling content layers.
|
| + // TODO(chrishtr): we should be able to skip scrolling content layers if |scrollingContentsOnly| is false.
|
| + void setBackingNeedsPaintInvalidationInRect(const LayoutRect&, PaintInvalidationReason, const LayoutObject&, bool scrollingContentsOnly) const;
|
|
|
| void invalidateDisplayItemClientOnBacking(const DisplayItemClient&, PaintInvalidationReason) const;
|
|
|
|
|