| Index: base/debug/close_handle_hook_win.cc
|
| diff --git a/base/debug/close_handle_hook_win.cc b/base/debug/close_handle_hook_win.cc
|
| index 6ff6fa2d815f49aa8bed83ed4c0a9f57993a676f..168de67bcc066f2f73452185296beeacb6aa4795 100644
|
| --- a/base/debug/close_handle_hook_win.cc
|
| +++ b/base/debug/close_handle_hook_win.cc
|
| @@ -9,11 +9,11 @@
|
| #include <stddef.h>
|
|
|
| #include <algorithm>
|
| +#include <memory>
|
| #include <vector>
|
|
|
| #include "base/lazy_instance.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/win/iat_patch_function.h"
|
| #include "base/win/pe_image.h"
|
| #include "base/win/scoped_handle.h"
|
| @@ -243,7 +243,7 @@ void HandleHooks::Unpatch() {
|
| void PatchLoadedModules(HandleHooks* hooks) {
|
| const DWORD kSize = 256;
|
| DWORD returned;
|
| - scoped_ptr<HMODULE[]> modules(new HMODULE[kSize]);
|
| + std::unique_ptr<HMODULE[]> modules(new HMODULE[kSize]);
|
| if (!EnumProcessModules(GetCurrentProcess(), modules.get(),
|
| kSize * sizeof(HMODULE), &returned)) {
|
| return;
|
|
|