Index: third_party/crashpad/crashpad/snapshot/win/memory_snapshot_win.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/memory_snapshot_win.cc b/third_party/crashpad/crashpad/snapshot/win/memory_snapshot_win.cc |
index 1861a885324dab10a6a637c22152d31744080e59..666cb93693b64e8432d6583477acba5bcb9650d8 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/memory_snapshot_win.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/memory_snapshot_win.cc |
@@ -12,9 +12,10 @@ |
// See the License for the specific language governing permissions and |
// limitations under the License. |
+#include <memory> |
+ |
#include "snapshot/win/memory_snapshot_win.h" |
-#include "base/memory/scoped_ptr.h" |
namespace crashpad { |
namespace internal { |
@@ -59,7 +60,7 @@ bool MemorySnapshotWin::Read(Delegate* delegate) const { |
return delegate->MemorySnapshotDelegateRead(nullptr, size_); |
} |
- scoped_ptr<uint8_t[]> buffer(new uint8_t[size_]); |
+ std::unique_ptr<uint8_t[]> buffer(new uint8_t[size_]); |
if (!process_reader_->ReadMemory(address_, size_, buffer.get())) { |
return false; |
} |