| Index: chrome/browser/external_tab_container.cc
|
| ===================================================================
|
| --- chrome/browser/external_tab_container.cc (revision 27183)
|
| +++ chrome/browser/external_tab_container.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "base/win_util.h"
|
| #include "chrome/browser/automation/automation_provider.h"
|
| #include "chrome/browser/browser_window.h"
|
| +#include "chrome/browser/debugger/devtools_manager.h"
|
| #include "chrome/browser/load_notification_details.h"
|
| #include "chrome/browser/page_info_window.h"
|
| #include "chrome/browser/profile.h"
|
| @@ -155,6 +156,10 @@
|
| }
|
|
|
| void ExternalTabContainer::Uninitialize() {
|
| + RenderViewHost* rvh = tab_contents_->render_view_host();
|
| + if (rvh) {
|
| + DevToolsManager::GetInstance()->UnregisterDevToolsClientHostFor(rvh);
|
| + }
|
| registrar_.RemoveAll();
|
| if (tab_contents_) {
|
| NotificationService::current()->Notify(
|
|
|