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

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

Issue 1817693002: Support edge-inclusive intersections in mapToVisibleRectInAncestorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@intersection-observer-idle-callback
Patch Set: compiler warning fix Created 4 years, 9 months 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 08a0799da30733a8419d489946114b62866e9fd5..18d0f1449b14bdd4335303e70161f82e883c716b 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -943,7 +943,7 @@ void WebPluginContainerImpl::computeClipRectsForPlugin(
FloatRect frameRectInOwnerElementSpace = box->absoluteToLocalQuad(FloatRect(frameRect()), UseTransforms).boundingBox();
LayoutRect unclippedAbsoluteRect(frameRectInOwnerElementSpace);
- box->mapToVisibleRectInAncestorSpace(rootView, unclippedAbsoluteRect, nullptr);
+ box->mapToVisibleRectInAncestorSpace(rootView, unclippedAbsoluteRect, nullptr, false);
// 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