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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 8333021: Fix a crash in PageActionImageView when extensions are reloaded due to incognito settings changing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: chrome/test/base/testing_profile.cc
===================================================================
--- chrome/test/base/testing_profile.cc (revision 107550)
+++ chrome/test/base/testing_profile.cc (working copy)
@@ -344,6 +344,7 @@
// Extension pref store, created for use by |extension_prefs_|.
extension_pref_value_map_.reset(new ExtensionPrefValueMap);
+ extension_process_manager_.reset(ExtensionProcessManager::Create(this));
Matt Perry 2011/10/27 18:05:28 we might not want to do this all the time. i think
bool extensions_disabled =
command_line && command_line->HasSwitch(switches::kDisableExtensions);
@@ -440,7 +441,7 @@
}
ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() {
- return NULL;
+ return extension_process_manager_.get();
}
ExtensionMessageService* TestingProfile::GetExtensionMessageService() {

Powered by Google App Engine
This is Rietveld 408576698