Index: third_party/crashpad/crashpad/tools/generate_dump.cc |
diff --git a/third_party/crashpad/crashpad/tools/generate_dump.cc b/third_party/crashpad/crashpad/tools/generate_dump.cc |
index 23b21ef64463d6fb7e98e54b3c32450b5debd8a6..399216106af9242616481b1432594d002f45b7c5 100644 |
--- a/third_party/crashpad/crashpad/tools/generate_dump.cc |
+++ b/third_party/crashpad/crashpad/tools/generate_dump.cc |
@@ -18,10 +18,10 @@ |
#include <stdlib.h> |
#include <sys/types.h> |
+#include <memory> |
#include <string> |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/stringprintf.h" |
#include "build/build_config.h" |
#include "minidump/minidump_file_writer.h" |
@@ -165,12 +165,12 @@ int GenerateDumpMain(int argc, char* argv[]) { |
{ |
#if defined(OS_MACOSX) |
- scoped_ptr<ScopedTaskSuspend> suspend; |
+ std::unique_ptr<ScopedTaskSuspend> suspend; |
if (options.suspend) { |
suspend.reset(new ScopedTaskSuspend(task)); |
} |
#elif defined(OS_WIN) |
- scoped_ptr<ScopedProcessSuspend> suspend; |
+ std::unique_ptr<ScopedProcessSuspend> suspend; |
if (options.suspend) { |
suspend.reset(new ScopedProcessSuspend(process.get())); |
} |