| Index: third_party/crashpad/crashpad/util/win/module_version.cc
|
| diff --git a/third_party/crashpad/crashpad/util/win/module_version.cc b/third_party/crashpad/crashpad/util/win/module_version.cc
|
| index 62f9e4246bea481aadad9eab31c4d24911bf736f..bd835380f0e9252dacaf3aa5e0da8959706b7714 100644
|
| --- a/third_party/crashpad/crashpad/util/win/module_version.cc
|
| +++ b/third_party/crashpad/crashpad/util/win/module_version.cc
|
| @@ -17,8 +17,9 @@
|
| #include <windows.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/strings/utf_string_conversions.h"
|
|
|
| namespace crashpad {
|
| @@ -32,7 +33,7 @@ bool GetModuleVersionAndType(const base::FilePath& path,
|
| return false;
|
| }
|
|
|
| - scoped_ptr<uint8_t[]> data(new uint8_t[size]);
|
| + std::unique_ptr<uint8_t[]> data(new uint8_t[size]);
|
| if (!GetFileVersionInfo(path.value().c_str(), 0, size, data.get())) {
|
| PLOG(WARNING) << "GetFileVersionInfo: "
|
| << base::UTF16ToUTF8(path.value());
|
|
|