| Index: third_party/WebKit/Source/core/input/EventHandler.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| index 7c7efe71daca02d94d38e5d1c47b0f2dc5e0fb82..1145a798db6cb6127709bcbe3124aac39ce568a2 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| @@ -1794,7 +1794,7 @@ WebInputEventResult EventHandler::sendContextMenuEventForKey(
|
| FrameSelection& selection = m_frame->selection();
|
| Position start =
|
| selection.computeVisibleSelectionInDOMTreeDeprecated().start();
|
| - VisualViewport& visualViewport = frameHost()->visualViewport();
|
| + VisualViewport& visualViewport = m_frame->page()->visualViewport();
|
|
|
| if (!overrideTargetElement && start.anchorNode() &&
|
| (selection.computeVisibleSelectionInDOMTreeDeprecated()
|
|
|