Index: sandbox/win/src/top_level_dispatcher.h |
diff --git a/sandbox/win/src/top_level_dispatcher.h b/sandbox/win/src/top_level_dispatcher.h |
index c9306de1cb283888dfeffbf68f80193b8620ef13..c1cf8f682a1e7220eb119d34c03afcbdcf6bdd9d 100644 |
--- a/sandbox/win/src/top_level_dispatcher.h |
+++ b/sandbox/win/src/top_level_dispatcher.h |
@@ -5,8 +5,9 @@ |
#ifndef SANDBOX_SRC_TOP_LEVEL_DISPATCHER_H__ |
#define SANDBOX_SRC_TOP_LEVEL_DISPATCHER_H__ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "sandbox/win/src/crosscall_server.h" |
#include "sandbox/win/src/interception.h" |
#include "sandbox/win/src/ipc_tags.h" |
@@ -34,13 +35,13 @@ class TopLevelDispatcher : public Dispatcher { |
Dispatcher* GetDispatcher(int ipc_tag); |
PolicyBase* policy_; |
- scoped_ptr<Dispatcher> filesystem_dispatcher_; |
- scoped_ptr<Dispatcher> named_pipe_dispatcher_; |
- scoped_ptr<Dispatcher> thread_process_dispatcher_; |
- scoped_ptr<Dispatcher> sync_dispatcher_; |
- scoped_ptr<Dispatcher> registry_dispatcher_; |
- scoped_ptr<Dispatcher> handle_dispatcher_; |
- scoped_ptr<Dispatcher> process_mitigations_win32k_dispatcher_; |
+ std::unique_ptr<Dispatcher> filesystem_dispatcher_; |
+ std::unique_ptr<Dispatcher> named_pipe_dispatcher_; |
+ std::unique_ptr<Dispatcher> thread_process_dispatcher_; |
+ std::unique_ptr<Dispatcher> sync_dispatcher_; |
+ std::unique_ptr<Dispatcher> registry_dispatcher_; |
+ std::unique_ptr<Dispatcher> handle_dispatcher_; |
+ std::unique_ptr<Dispatcher> process_mitigations_win32k_dispatcher_; |
Dispatcher* ipc_targets_[IPC_LAST_TAG]; |
DISALLOW_COPY_AND_ASSIGN(TopLevelDispatcher); |