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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.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/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index b58ad9d58a5671c2a59199a0f0908775415a494f..a691a5d7ded94673e1d278a119a360547055f8eb 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -4128,7 +4128,7 @@ static WebPoint bottomRightMinusOne(const WebRect& rect)
static WebRect elementBounds(WebFrame* frame, const WebString& id)
{
- return frame->document().getElementById(id).boundsInViewportSpace();
+ return frame->document().getElementById(id).boundsInViewport();
}
static std::string selectionAsString(WebFrame* frame)

Powered by Google App Engine
This is Rietveld 408576698