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

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

Issue 1516683002: Introducing LayoutObject::mapToVisibleRectInContainerSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rename to visibleRectInContainerSpace 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 a50429bbe18747041aad2e05267eb62cff986fb2..4ca8b69c670149f2c0a076a5268d896e3c521dc2 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->visibleRectInContainerSpace(rootView, unclippedAbsoluteRect, nullptr);
// The frameRect is already in absolute space, except for scrolling of the root frame.
windowRect = frameRect();

Powered by Google App Engine
This is Rietveld 408576698