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

Unified Diff: chrome/browser/extensions/extension_service_unittest.cc

Issue 12315116: Add ability to change default pref values, and use in BrowserInstantController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge LKGR and address review nit. Created 7 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
Index: chrome/browser/extensions/extension_service_unittest.cc
diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
index fe89f3feef27b5ae1beb9aec7065916cb571ac8b..8c36bfb75a768cb4e3df05f6fba670430e0fc2c0 100644
--- a/chrome/browser/extensions/extension_service_unittest.cc
+++ b/chrome/browser/extensions/extension_service_unittest.cc
@@ -448,7 +448,7 @@ void ExtensionServiceTestBase::InitializeExtensionService(
pref_file, loop_.message_loop_proxy());
scoped_refptr<PrefRegistrySyncable> registry(new PrefRegistrySyncable);
scoped_ptr<PrefServiceSyncable> prefs(builder.CreateSyncable(registry));
- chrome::RegisterUserPrefs(prefs.get(), registry);
+ chrome::RegisterUserPrefs(registry);
profile_builder.SetPrefService(prefs.Pass());
profile_builder.SetPath(profile_path);
profile_ = profile_builder.Build();

Powered by Google App Engine
This is Rietveld 408576698