| Index: third_party/crashpad/crashpad/snapshot/mac/memory_snapshot_mac.cc
|
| diff --git a/third_party/crashpad/crashpad/snapshot/mac/memory_snapshot_mac.cc b/third_party/crashpad/crashpad/snapshot/mac/memory_snapshot_mac.cc
|
| index 4ded2512564e7d10aeb4d87ec5ed785cc27fb1ef..adc77520c240c854fed2f892ce38ad31d5e11911 100644
|
| --- a/third_party/crashpad/crashpad/snapshot/mac/memory_snapshot_mac.cc
|
| +++ b/third_party/crashpad/crashpad/snapshot/mac/memory_snapshot_mac.cc
|
| @@ -14,7 +14,8 @@
|
|
|
| #include "snapshot/mac/memory_snapshot_mac.h"
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| +#include <memory>
|
| +
|
| #include "util/mach/task_memory.h"
|
|
|
| namespace crashpad {
|
| @@ -58,7 +59,7 @@ bool MemorySnapshotMac::Read(Delegate* delegate) const {
|
| return delegate->MemorySnapshotDelegateRead(nullptr, size_);
|
| }
|
|
|
| - scoped_ptr<uint8_t[]> buffer(new uint8_t[size_]);
|
| + std::unique_ptr<uint8_t[]> buffer(new uint8_t[size_]);
|
| if (!process_reader_->Memory()->Read(address_, size_, buffer.get())) {
|
| return false;
|
| }
|
|
|