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

Unified Diff: components/crash/content/app/crashpad_win.cc

Issue 1884743002: Convert a few components from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint 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
Index: components/crash/content/app/crashpad_win.cc
diff --git a/components/crash/content/app/crashpad_win.cc b/components/crash/content/app/crashpad_win.cc
index 1896b178ff178682d957638efcbc9760fdc53e4f..7f00fe0b5e4c98b2035bc40e3b5963d3a3a94644 100644
--- a/components/crash/content/app/crashpad_win.cc
+++ b/components/crash/content/app/crashpad_win.cc
@@ -4,9 +4,10 @@
#include "components/crash/content/app/crashpad.h"
+#include <memory>
+
#include "base/environment.h"
#include "base/lazy_instance.h"
-#include "base/memory/scoped_ptr.h"
#include "base/numerics/safe_conversions.h"
#include "base/path_service.h"
#include "base/strings/string16.h"
@@ -58,7 +59,7 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client,
const char kPipeNameVar[] = "CHROME_CRASHPAD_PIPE_NAME";
const char kServerUrlVar[] = "CHROME_CRASHPAD_SERVER_URL";
- scoped_ptr<base::Environment> env(base::Environment::Create());
+ std::unique_ptr<base::Environment> env(base::Environment::Create());
if (initial_client) {
CrashReporterClient* crash_reporter_client = GetCrashReporterClient();
« no previous file with comments | « components/crash/content/app/crash_keys_win.h ('k') | components/crash/content/app/run_as_crashpad_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698