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

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

Issue 2730573003: Moved FrameHost::m_visualViewport to Page (Closed)
Patch Set: Fixed some compile errors on mac and android Created 3 years, 9 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: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 4deb1c6ba3876fe687a5581c750d90514e753607..3098588d80705f72cc454d4775fd9c4706b4ab3a 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1920,7 +1920,7 @@ void WebLocalFrameImpl::loadJavaScriptURL(const KURL& url) {
HitTestResult WebLocalFrameImpl::hitTestResultForVisualViewportPos(
const IntPoint& posInViewport) {
IntPoint rootFramePoint(
- frame()->host()->visualViewport().viewportToRootFrame(posInViewport));
+ frame()->page()->visualViewport().viewportToRootFrame(posInViewport));
IntPoint docPoint(frame()->view()->rootFrameToContents(rootFramePoint));
HitTestResult result = frame()->eventHandler().hitTestResultAtPoint(
docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active);
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698