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

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: Build fix 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
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 0308c86a5a355803496dc8aa5c298f7c7fcef8b5..fff59fe76bcac95d66d164c7e1e6da7c9524542f 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();

Powered by Google App Engine
This is Rietveld 408576698