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

Unified Diff: chrome/service/service_main.cc

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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_unittest.cc ('k') | chrome/service/service_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_main.cc
diff --git a/chrome/service/service_main.cc b/chrome/service/service_main.cc
index 03b0bcb82019488f5fc0805ff76160ac40efd74c..846bcc9652c4f3ba883f679a82f265b51521b4a4 100644
--- a/chrome/service/service_main.cc
+++ b/chrome/service/service_main.cc
@@ -30,7 +30,7 @@ int ServiceProcessMain(const content::MainFunctionParams& parameters) {
base::StatisticsRecorder::Initialize();
// If there is already a service process running, quit now.
- scoped_ptr<ServiceProcessState> state(new ServiceProcessState);
+ std::unique_ptr<ServiceProcessState> state(new ServiceProcessState);
if (!state->Initialize())
return 0;
« no previous file with comments | « chrome/service/service_ipc_server_unittest.cc ('k') | chrome/service/service_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698