| Index: third_party/crashpad/crashpad/snapshot/mac/process_reader.cc
|
| diff --git a/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc b/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc
|
| index c7f674bbc97af0346448a2992c6725d0333a9a5b..3b11eb1d788d5e81982b41cd00bb1747308d3429 100644
|
| --- a/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc
|
| +++ b/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc
|
| @@ -429,7 +429,7 @@ void ProcessReader::InitializeModules() {
|
| // Proceed anyway with an empty module name.
|
| }
|
|
|
| - scoped_ptr<MachOImageReader> reader(new MachOImageReader());
|
| + std::unique_ptr<MachOImageReader> reader(new MachOImageReader());
|
| if (!reader->Initialize(this, image_info.imageLoadAddress, module.name)) {
|
| reader.reset();
|
| }
|
| @@ -510,7 +510,7 @@ void ProcessReader::InitializeModules() {
|
| }
|
| std::string module_name = !module.name.empty() ? module.name : "(dyld)";
|
|
|
| - scoped_ptr<MachOImageReader> reader(new MachOImageReader());
|
| + std::unique_ptr<MachOImageReader> reader(new MachOImageReader());
|
| if (!reader->Initialize(
|
| this, all_image_infos.dyldImageLoadAddress, module_name)) {
|
| reader.reset();
|
|
|