| Index: sandbox/win/wow_helper/service64_resolver.cc
|
| diff --git a/sandbox/win/wow_helper/service64_resolver.cc b/sandbox/win/wow_helper/service64_resolver.cc
|
| index 0424d9fdddeb994e75cfb6585484e93b84fad696..1e71b50d78390898d8a36ebef32cbad018045721 100644
|
| --- a/sandbox/win/wow_helper/service64_resolver.cc
|
| +++ b/sandbox/win/wow_helper/service64_resolver.cc
|
| @@ -7,8 +7,9 @@
|
| #include <limits.h>
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/bit_cast.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "sandbox/win/wow_helper/target_code.h"
|
|
|
| namespace {
|
| @@ -214,7 +215,7 @@ NTSTATUS Service64ResolverThunk::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());
|
|
|
|
|