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

Unified Diff: chrome/browser/privacy_blacklist/blacklist_manager_browsertest.cc

Issue 399016: Fix race conditions where an object's constructor uses PostTask on itself. T... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/browser/privacy_blacklist/blacklist_manager_browsertest.cc
===================================================================
--- chrome/browser/privacy_blacklist/blacklist_manager_browsertest.cc (revision 32148)
+++ chrome/browser/privacy_blacklist/blacklist_manager_browsertest.cc (working copy)
@@ -33,8 +33,8 @@
public:
void InitializeBlacklistManager() {
Profile* profile = browser()->profile();
- blacklist_manager_ = new BlacklistManager(profile,
- profile->GetExtensionsService());
+ blacklist_manager_ = new BlacklistManager();
+ blacklist_manager_->Initialize(profile, profile->GetExtensionsService());
WaitForBlacklistUpdate();
}

Powered by Google App Engine
This is Rietveld 408576698