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

Unified Diff: content/app/content_main.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/app/android/content_main.cc ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main.cc
diff --git a/content/app/content_main.cc b/content/app/content_main.cc
index 77277ff64800ec3dda88b311b032a674d55ce490..b983bf8191d9d1e59e27d2a9250569d8fc793751 100644
--- a/content/app/content_main.cc
+++ b/content/app/content_main.cc
@@ -4,13 +4,14 @@
#include "content/public/app/content_main.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "content/public/app/content_main_runner.h"
namespace content {
int ContentMain(const ContentMainParams& params) {
- scoped_ptr<ContentMainRunner> main_runner(ContentMainRunner::Create());
+ std::unique_ptr<ContentMainRunner> main_runner(ContentMainRunner::Create());
int exit_code = main_runner->Initialize(params);
if (exit_code >= 0)
« no previous file with comments | « content/app/android/content_main.cc ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698