Index: sandbox/win/src/interception.cc |
diff --git a/sandbox/win/src/interception.cc b/sandbox/win/src/interception.cc |
index 0243c245f5934eba86363206b3abe601abb2dcd0..feb5d8966daa8663db7215a249668f791d712516 100644 |
--- a/sandbox/win/src/interception.cc |
+++ b/sandbox/win/src/interception.cc |
@@ -7,12 +7,12 @@ |
#include <stddef.h> |
+#include <memory> |
#include <set> |
#include "sandbox/win/src/interception.h" |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "base/win/pe_image.h" |
#include "base/win/windows_version.h" |
@@ -129,7 +129,7 @@ bool InterceptionManager::InitializeInterceptions() { |
return true; // Nothing to do here |
size_t buffer_bytes = GetBufferSize(); |
- scoped_ptr<char[]> local_buffer(new char[buffer_bytes]); |
+ std::unique_ptr<char[]> local_buffer(new char[buffer_bytes]); |
if (!SetupConfigBuffer(local_buffer.get(), buffer_bytes)) |
return false; |