Index: third_party/crashpad/crashpad/tools/tool_support.cc |
diff --git a/third_party/crashpad/crashpad/tools/tool_support.cc b/third_party/crashpad/crashpad/tools/tool_support.cc |
index 5d3592bcfdf92bc95ddd89c296ea78486af74163..f6d4f84c06a0e38c49873de2398e14965d3d4f5c 100644 |
--- a/third_party/crashpad/crashpad/tools/tool_support.cc |
+++ b/third_party/crashpad/crashpad/tools/tool_support.cc |
@@ -16,9 +16,9 @@ |
#include <stdio.h> |
+#include <memory> |
#include <vector> |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/utf_string_conversions.h" |
#include "package.h" |
@@ -75,7 +75,7 @@ void ToolSupport::UsageHint(const std::string& me, const char* hint) { |
// static |
int ToolSupport::Wmain(int argc, wchar_t* argv[], int (*entry)(int, char* [])) { |
- scoped_ptr<char* []> argv_as_utf8(new char* [argc + 1]); |
+ std::unique_ptr<char* []> argv_as_utf8(new char*[argc + 1]); |
std::vector<std::string> storage; |
storage.reserve(argc); |
for (int i = 0; i < argc; ++i) { |