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