Index: third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js b/third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js |
index 22ad486932dcb0123364624bb731182cbbee2ac5..4eed4c0d5d3bb173e18d7a040271a5d6e774a522 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js |
@@ -391,7 +391,7 @@ |
UI._contextMenu = this; |
if (this._useSoftMenu || UI.ContextMenu._useSoftMenu || InspectorFrontendHost.isHostedMode()) { |
this._softMenu = new UI.SoftContextMenu(menuObject, this._itemSelected.bind(this)); |
- this._softMenu.show(this._event.target.ownerDocument, this._x, this._y); |
+ this._softMenu.show(this._event.target.ownerDocument, new AnchorBox(this._x, this._y, 0, 0)); |
} else { |
InspectorFrontendHost.showContextMenuAtPoint(this._x, this._y, menuObject, this._event.target.ownerDocument); |