Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1397)

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 1537133002: Renaming: distinguish ancestor, container and paintInvalidationContainer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SelectionInvalidation
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698