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

Unified Diff: chrome_frame/bho.cc

Issue 6493002: A number of poorly written IE BHO's crash IE if ChromeFrame is the currently ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | chrome_frame/buggy_bho_handling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/bho.cc
===================================================================
--- chrome_frame/bho.cc (revision 74374)
+++ chrome_frame/bho.cc (working copy)
@@ -12,7 +12,7 @@
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/win/scoped_bstr.h"
-#include "chrome_tab.h" // NOLINT
+#include "chrome_frame/buggy_bho_handling.h"
#include "chrome_frame/crash_reporting/crash_metrics.h"
#include "chrome_frame/extra_system_apis.h"
#include "chrome_frame/html_utils.h"
@@ -138,6 +138,10 @@
MetricsService::Start();
} else {
UnregisterThreadInstance();
+ buggy_bho::BuggyBhoTls::DestroyInstance();
+ ScopedComPtr<IWebBrowser2> web_browser2;
+ web_browser2.QueryFrom(m_spUnkSite);
+ DispEventUnadvise(web_browser2, &DIID_DWebBrowserEvents2);
Release();
}
« no previous file with comments | « no previous file | chrome_frame/buggy_bho_handling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698