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

Unified Diff: content/shell/browser/shell_browser_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/shell/browser/shell_browser_main.h ('k') | content/shell/browser/shell_browser_main_parts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_browser_main.cc
diff --git a/content/shell/browser/shell_browser_main.cc b/content/shell/browser/shell_browser_main.cc
index 3089e40ec3ab4137833b540ea6dad78e279e293c..676cde52e102a54258140a0060f85cbdf078c7a0 100644
--- a/content/shell/browser/shell_browser_main.cc
+++ b/content/shell/browser/shell_browser_main.cc
@@ -5,9 +5,9 @@
#include "content/shell/browser/shell_browser_main.h"
#include <iostream>
+#include <memory>
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "build/build_config.h"
#include "content/public/browser/browser_main_runner.h"
@@ -19,7 +19,7 @@
// Main routine for running as the Browser process.
int ShellBrowserMain(
const content::MainFunctionParams& parameters,
- const scoped_ptr<content::BrowserMainRunner>& main_runner) {
+ const std::unique_ptr<content::BrowserMainRunner>& main_runner) {
int exit_code = main_runner->Initialize(parameters);
DCHECK_LT(exit_code, 0)
<< "BrowserMainRunner::Initialize failed in ShellBrowserMain";
« no previous file with comments | « content/shell/browser/shell_browser_main.h ('k') | content/shell/browser/shell_browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698