| 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 3931b98fea8f8b8daeb2f8a700da9927d97d1f2b..713df8376de341648cce2924d7a4a9c559955e33 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| @@ -2852,7 +2852,7 @@ WebInputEventResult EventHandler::sendContextMenuEventForKey(Element* overrideTa
|
|
|
| m_frame->view()->setCursor(pointerCursor());
|
| IntPoint locationInViewport = visualViewport.rootFrameToViewport(locationInRootFrame);
|
| - IntPoint globalPosition = view->getHostWindow()->viewportToScreen(IntRect(locationInViewport, IntSize())).location();
|
| + IntPoint globalPosition = view->getHostWindow()->viewportToScreen(IntRect(locationInViewport, IntSize()), m_frame->view()).location();
|
|
|
| Node* targetNode = overrideTargetElement ? overrideTargetElement : doc->focusedElement();
|
| if (!targetNode)
|
|
|