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()); |