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); |