Index: third_party/crashpad/crashpad/snapshot/win/pe_image_resource_reader.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/pe_image_resource_reader.cc b/third_party/crashpad/crashpad/snapshot/win/pe_image_resource_reader.cc |
index 3a754a9757596a63aa4153b8b6f8914e3db34511..a010276ab02b523a458944d86a0f31543ef85262 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/pe_image_resource_reader.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/pe_image_resource_reader.cc |
@@ -15,9 +15,9 @@ |
#include "snapshot/win/pe_image_resource_reader.h" |
#include <algorithm> |
+#include <memory> |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
namespace { |
@@ -227,7 +227,7 @@ bool PEImageResourceReader::ReadResourceDirectory( |
// resource_directory is optional, but it’s still needed locally even if the |
// caller isn’t interested in it. |
- scoped_ptr<IMAGE_RESOURCE_DIRECTORY> local_resource_directory; |
+ std::unique_ptr<IMAGE_RESOURCE_DIRECTORY> local_resource_directory; |
if (!resource_directory) { |
local_resource_directory.reset(new IMAGE_RESOURCE_DIRECTORY); |
resource_directory = local_resource_directory.get(); |