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

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: rebase Created 5 years 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 d1965ce7bb590056519a42458a5498964c9847c6..a2e5930a52ba02df227007be8540050ff92e5684 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