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

Unified Diff: Source/core/dom/Element.cpp

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 5 years, 10 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
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/frame/FrameView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 5f7811ab0e093325d9aed8fcdff0ae8d327225dd..2ee21256120725603884c7a9e760789c8041f913 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -861,7 +861,7 @@ void Element::scrollFrameTo(const ScrollToOptions& scrollToOptions)
view->setScrollPosition(DoublePoint(scaledLeft, scaledTop), scrollBehavior);
}
-IntRect Element::boundsInRootViewSpace()
+IntRect Element::boundsInViewportSpace()
{
document().updateLayoutIgnorePendingStylesheets();
@@ -889,7 +889,7 @@ IntRect Element::boundsInRootViewSpace()
for (size_t i = 1; i < quads.size(); ++i)
result.unite(quads[i].enclosingBoundingBox());
- result = view->contentsToRootView(result);
+ result = view->contentsToWindow(result);
// FIXME: Cleanup pinch viewport coordinate translations. crbug.com/371902.
PinchViewport& pinchViewport = document().page()->frameHost().pinchViewport();
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698