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

Unified Diff: chrome/browser/external_tab_container.cc

Issue 249005: If IE was navigated away to a different page when the ChromeFrame inspector w... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698