| Index: third_party/crashpad/crashpad/snapshot/win/pe_image_reader.cc
|
| diff --git a/third_party/crashpad/crashpad/snapshot/win/pe_image_reader.cc b/third_party/crashpad/crashpad/snapshot/win/pe_image_reader.cc
|
| index 4ae745fc942c46a39687d93c87c6d14377e29433..f7e8e51deea2b84cb4a9b00cf43c7d153dcee2d7 100644
|
| --- a/third_party/crashpad/crashpad/snapshot/win/pe_image_reader.cc
|
| +++ b/third_party/crashpad/crashpad/snapshot/win/pe_image_reader.cc
|
| @@ -16,8 +16,9 @@
|
|
|
| #include <string.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "client/crashpad_info.h"
|
| #include "snapshot/win/pe_image_resource_reader.h"
|
| #include "util/misc/pdb_structures.h"
|
| @@ -146,7 +147,7 @@ bool PEImageReader::DebugDirectoryInformation(UUID* uuid,
|
| continue;
|
| }
|
|
|
| - scoped_ptr<char[]> data(new char[debug_directory.SizeOfData]);
|
| + std::unique_ptr<char[]> data(new char[debug_directory.SizeOfData]);
|
| if (!module_subrange_reader_.ReadMemory(
|
| Address() + debug_directory.AddressOfRawData,
|
| debug_directory.SizeOfData,
|
|
|