| 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);
|
|
|