Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
index a50429bbe18747041aad2e05267eb62cff986fb2..d3c3da7a5f41ae4edf653e51b5976d1cdc536df5 100644 |
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
@@ -949,7 +949,7 @@ void WebPluginContainerImpl::computeClipRectsForPlugin( |
IntRect frameRectInOwnerElementSpace = box->absoluteToLocalQuad(FloatRect(frameRect()), UseTransforms).enclosingBoundingBox(); |
LayoutRect unclippedAbsoluteRect(frameRectInOwnerElementSpace); |
- box->mapRectToPaintInvalidationBacking(rootView, unclippedAbsoluteRect, nullptr); |
+ box->mapToVisibleRectInContainerSpace(rootView, unclippedAbsoluteRect, nullptr); |
// The frameRect is already in absolute space, except for scrolling of the root frame. |
windowRect = frameRect(); |