Index: third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.cc b/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.cc |
index 41c390275da3cc58fcd76b6ba811d7a77ab92d44..e305817336df7066a949a3f7c8d2ff688cb5b458 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.cc |
@@ -17,6 +17,7 @@ |
#include <algorithm> |
#include "base/logging.h" |
+#include "base/memory/ptr_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
#include "snapshot/win/memory_snapshot_win.h" |
@@ -235,7 +236,7 @@ void ProcessSnapshotWin::InitializeThreads( |
process_reader_.Threads(); |
for (const ProcessReaderWin::Thread& process_reader_thread : |
process_reader_threads) { |
- auto thread = make_scoped_ptr(new internal::ThreadSnapshotWin()); |
+ auto thread = base::WrapUnique(new internal::ThreadSnapshotWin()); |
if (thread->Initialize(&process_reader_, |
process_reader_thread, |
gather_indirectly_referenced_memory)) { |
@@ -249,7 +250,7 @@ void ProcessSnapshotWin::InitializeModules() { |
process_reader_.Modules(); |
for (const ProcessInfo::Module& process_reader_module : |
process_reader_modules) { |
- auto module = make_scoped_ptr(new internal::ModuleSnapshotWin()); |
+ auto module = base::WrapUnique(new internal::ModuleSnapshotWin()); |
if (module->Initialize(&process_reader_, process_reader_module)) { |
modules_.push_back(module.release()); |
} |