Index: sandbox/win/src/service_resolver_64.cc |
diff --git a/sandbox/win/src/service_resolver_64.cc b/sandbox/win/src/service_resolver_64.cc |
index 25ee9db26c5e5f3c20a688b81ca0de90da4f7c70..7846ee33b4ffa89a8dbd26a2eb0def58bd49eb55 100644 |
--- a/sandbox/win/src/service_resolver_64.cc |
+++ b/sandbox/win/src/service_resolver_64.cc |
@@ -6,7 +6,8 @@ |
#include <stddef.h> |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
+ |
#include "sandbox/win/src/sandbox_nt_util.h" |
#include "sandbox/win/src/win_utils.h" |
@@ -148,7 +149,7 @@ NTSTATUS ServiceResolverThunk::Setup(const void* target_module, |
return ret; |
size_t thunk_bytes = GetThunkSize(); |
- scoped_ptr<char[]> thunk_buffer(new char[thunk_bytes]); |
+ std::unique_ptr<char[]> thunk_buffer(new char[thunk_bytes]); |
ServiceFullThunk* thunk = reinterpret_cast<ServiceFullThunk*>( |
thunk_buffer.get()); |