summaryrefslogtreecommitdiffstats
path: root/sandbox/win/src/service_resolver_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/win/src/service_resolver_unittest.cc')
-rw-r--r--sandbox/win/src/service_resolver_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/win/src/service_resolver_unittest.cc b/sandbox/win/src/service_resolver_unittest.cc
index 8c44202..59105cc 100644
--- a/sandbox/win/src/service_resolver_unittest.cc
+++ b/sandbox/win/src/service_resolver_unittest.cc
@@ -105,7 +105,7 @@ NTSTATUS PatchNtdllWithResolver(const char* function, bool relaxed,
// Any pointer will do as an interception_entry_point
void* function_entry = resolver;
size_t thunk_size = resolver->GetThunkSize();
- scoped_array<char> thunk(new char[thunk_size]);
+ scoped_ptr<char[]> thunk(new char[thunk_size]);
size_t used;
NTSTATUS ret = resolver->Setup(ntdll_base, NULL, function, NULL,