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

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

Issue 1463723003: Return VisualViewport coords in boundsInViewportSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/WebElement.cpp
diff --git a/third_party/WebKit/Source/web/WebElement.cpp b/third_party/WebKit/Source/web/WebElement.cpp
index 6888f6195a17b94526c66c3d5822ff8ffd805224..a11c9620a98bb244b627be4cce8460a2d27ca893 100644
--- a/third_party/WebKit/Source/web/WebElement.cpp
+++ b/third_party/WebKit/Source/web/WebElement.cpp
@@ -154,9 +154,9 @@ bool WebElement::hasNonEmptyLayoutSize() const
return constUnwrap<Element>()->hasNonEmptyLayoutSize();
}
-WebRect WebElement::boundsInViewportSpace()
+WebRect WebElement::boundsInViewport()
{
- return unwrap<Element>()->boundsInViewportSpace();
+ return unwrap<Element>()->boundsInViewport();
}
WebImage WebElement::imageContents()

Powered by Google App Engine
This is Rietveld 408576698