Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index 71e285717171346f5b8915eea590170182ddcd59..9bd0df203d2d3eb192f6d516d5d3ddb9446c70ab 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -975,7 +975,8 @@ void BrowserPluginGuest::OnShowPopup( |
void BrowserPluginGuest::OnShowWidget(int route_id, |
const gfx::Rect& initial_rect) { |
- GetWebContents()->ShowCreatedWidget(route_id, initial_rect); |
+ int process_id = GetWebContents()->GetRenderProcessHost()->GetID(); |
+ GetWebContents()->ShowCreatedWidget(process_id, route_id, initial_rect); |
} |
void BrowserPluginGuest::OnTakeFocus(bool reverse) { |