| 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 ba561e716701620fc4d7aeba2fe91a4b7cbf8eb6..3b98169cf1ec5eea198aad674e5d1e2d7b609e30 100644
|
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| @@ -932,7 +932,7 @@ void WebPluginContainerImpl::computeClipRectsForPlugin(
|
| IntRect frameRectInOwnerElementSpace = box->absoluteToLocalQuad(FloatRect(frameRect()), UseTransforms).enclosingBoundingBox();
|
|
|
| LayoutRect unclippedAbsoluteRect(frameRectInOwnerElementSpace);
|
| - box->mapToVisibleRectInContainerSpace(rootView, unclippedAbsoluteRect, nullptr);
|
| + box->mapToVisibleRectInAncestorSpace(rootView, unclippedAbsoluteRect, nullptr);
|
|
|
| // The frameRect is already in absolute space of the local frame to the plugin.
|
| windowRect = frameRect();
|
|
|