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

Unified Diff: chrome/service/service_process.cc

Issue 15836003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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
« no previous file with comments | « chrome/service/service_ipc_server.h ('k') | chrome/test/automation/automation_handle_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process.cc
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index 350629d8a2ae74b537260053630d2c9f29072c15..ab7fa73c89ebbaae742ee1f1e67d70a29293a83a 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -161,10 +161,9 @@ bool ServiceProcess::Initialize(base::MessageLoopForUI* message_loop,
PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
base::FilePath pref_path =
user_data_dir.Append(chrome::kServiceStateFileName);
- service_prefs_.reset(
- new ServiceProcessPrefs(
- pref_path,
- JsonPrefStore::GetTaskRunnerForFile(pref_path, blocking_pool_)));
+ service_prefs_.reset(new ServiceProcessPrefs(
+ pref_path,
+ JsonPrefStore::GetTaskRunnerForFile(pref_path, blocking_pool_.get())));
service_prefs_->ReadPrefs();
// This switch it required to run connector with test gaia.
« no previous file with comments | « chrome/service/service_ipc_server.h ('k') | chrome/test/automation/automation_handle_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698