| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| index 1064a9a8c14c8dbd36dd98205a05b269695a0bbd..9855a105f005137fd88c2fca8021f80add29430e 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -358,6 +358,13 @@ void GraphicsLayer::notifyFirstPaintToClient()
|
| }
|
| }
|
|
|
| +void GraphicsLayer::notifyPaintInvalidationToClient(const IntRect* visualRect)
|
| +{
|
| + if (visualRect) {
|
| + m_client->notifyPaintInvalidation(visualRect, paintCount());
|
| + }
|
| +}
|
| +
|
| void GraphicsLayer::updateChildList()
|
| {
|
| WebLayer* childHost = m_layer->layer();
|
| @@ -1050,6 +1057,7 @@ void GraphicsLayer::invalidateDisplayItemClient(const DisplayItemClientWrapper&
|
| paintController()->invalidate(displayItemClient, paintInvalidationReason, visualRect);
|
| if (isTrackingPaintInvalidations())
|
| trackPaintInvalidationObject(displayItemClient.debugName());
|
| + notifyPaintInvalidationToClient(visualRect);
|
| }
|
|
|
| void GraphicsLayer::setContentsRect(const IntRect& rect)
|
|
|