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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 11956034: Merge 175182 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1312/src/
Patch Set: Created 7 years, 11 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/external_tab_container_win.cc
===================================================================
--- chrome/browser/ui/views/external_tab_container_win.cc (revision 177291)
+++ chrome/browser/ui/views/external_tab_container_win.cc (working copy)
@@ -271,6 +271,11 @@
UnregisterRenderViewHost(
tab_contents_->web_contents()->GetRenderViewHost());
+ // Explicitly tell the RPH to shutdown, as doing so is the only thing that
+ // cleans up certain resources like infobars (crbug.com/148398).
+ tab_contents_->web_contents()->
+ GetRenderProcessHost()->FastShutdownIfPossible();
+
if (GetWidget()->GetRootView())
GetWidget()->GetRootView()->RemoveAllChildViews(true);
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698