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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 64193003: Clean up PrefServiceBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory ownership bug in ProxyPolicyTest Created 7 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
« no previous file with comments | « base/prefs/testing_pref_service.h ('k') | chrome/browser/chromeos/login/wizard_controller_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 5db8e4963221b7ca83f6fdd6ce3463fafc9fc4eb..dc77b82c4e5334c9e583362642e513ca93bda29d 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -863,12 +863,12 @@ void BrowserProcessImpl::CreateLocalState() {
// Register local state preferences.
chrome::RegisterLocalState(pref_registry.get());
- local_state_.reset(
+ local_state_ =
chrome_prefs::CreateLocalState(local_state_path,
local_state_task_runner_.get(),
policy_service(),
pref_registry,
- false));
+ false).Pass();
pref_change_registrar_.Init(local_state_.get());
« no previous file with comments | « base/prefs/testing_pref_service.h ('k') | chrome/browser/chromeos/login/wizard_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698