| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index f5ec2568603739e526c7d83230bbf582cc4d9fb3..0220e60fc347c185e1c9f3a0503096ef4a01c671 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1232,7 +1232,7 @@ bool LayoutObject::compositedScrollsWithRespectTo(const LayoutBoxModelObject& pa
|
| return paintInvalidationContainer.usesCompositedScrolling() && this != &paintInvalidationContainer;
|
| }
|
|
|
| -void LayoutObject::invalidatePaintRectangle(const LayoutRect& dirtyRect) const
|
| +void LayoutObject::invalidatePaintRectangle(const LayoutRect& dirtyRect, DisplayItemClient* displayItemClient) const
|
| {
|
| RELEASE_ASSERT(isRooted());
|
|
|
| @@ -1255,7 +1255,10 @@ void LayoutObject::invalidatePaintRectangle(const LayoutRect& dirtyRect) const
|
| invalidatePaintUsingContainer(paintInvalidationContainer, dirtyRectOnBacking, PaintInvalidationRectangle);
|
|
|
| slowSetPaintingLayerNeedsRepaint();
|
| - invalidateDisplayItemClients(PaintInvalidationRectangle);
|
| + if (displayItemClient)
|
| + invalidateDisplayItemClient(*displayItemClient, PaintInvalidationRectangle);
|
| + else
|
| + invalidateDisplayItemClients(PaintInvalidationRectangle);
|
| }
|
|
|
| void LayoutObject::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvalidationState)
|
|
|