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

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') | chrome_frame/buggy_bho_handling.h » ('J')
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)
@@ -11,8 +11,9 @@
#include "base/path_service.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
+#include "base/threading/platform_thread.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"
@@ -23,6 +24,7 @@
#include "chrome_frame/urlmon_moniker.h"
#include "chrome_frame/utils.h"
#include "chrome_frame/vtable_patch_manager.h"
+#include "chrome_tab.h" // NOLINT
static const int kIBrowserServiceOnHttpEquivIndex = 30;
@@ -134,10 +136,12 @@
// our active document/activex instances to query referrer and other
// information for a URL.
AddRef();
- RegisterThreadInstance();
+ RegisterThreadInstance(web_browser2);
tommi (sloooow) - chröme 2011/02/11 14:49:02 Maybe instead of registering a pointer to IWebBrow
MetricsService::Start();
} else {
UnregisterThreadInstance();
tommi (sloooow) - chröme 2011/02/11 14:49:02 Hmm... there's no matching DispEventUnadvise to th
ananta 2011/02/11 18:55:07 Nice catch. Fixed.
+ buggy_bho::BuggyBhoHandler::ClearBuggyObjectsForThread(
+ base::PlatformThread::CurrentId());
Release();
}
« no previous file with comments | « no previous file | chrome_frame/buggy_bho_handling.h » ('j') | chrome_frame/buggy_bho_handling.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698