Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 1986643002: Track pending WebContents and widgets by (process_id, routing_id) pair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen-flash
Patch Set: Disable popup menu test for Mac/Android Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/frame_host/interstitial_page_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | content/browser/frame_host/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698