| Index: chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.cc b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| index 45bebb3a223a39249e322c29d28da899c55adbbe..5fd6df10eab3c61864e9840a5a889ff6ca6131b9 100644
|
| --- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| +++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| @@ -330,7 +330,7 @@ void ChromePluginPlaceholder::ShowContextMenu(
|
| hide_item.label = l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLUGIN_HIDE);
|
| params.custom_items.push_back(hide_item);
|
|
|
| - blink::WebPoint point(event.x, event.y);
|
| + blink::WebPoint point(event.positionInWidget().x, event.positionInWidget().y);
|
| if (plugin() && plugin()->container())
|
| point = plugin()->container()->localToRootFramePoint(point);
|
|
|
|
|