Index: chrome/browser/ui/views/external_tab_container_win.cc |
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc |
index 42e67b25860289a9af5faff8b2cdc90f6574fc89..070725cd576f4557d9c5f47b2947f284d95d9b29 100644 |
--- a/chrome/browser/ui/views/external_tab_container_win.cc |
+++ b/chrome/browser/ui/views/external_tab_container_win.cc |
@@ -266,6 +266,10 @@ void ExternalTabContainerWin::Uninitialize() { |
if (web_contents_.get()) { |
UnregisterRenderViewHost(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). |
+ web_contents_->GetRenderProcessHost()->FastShutdownIfPossible(); |
+ |
if (GetWidget()->GetRootView()) |
GetWidget()->GetRootView()->RemoveAllChildViews(true); |