Index: sandbox/mac/xpc_message_server.h |
diff --git a/sandbox/mac/xpc_message_server.h b/sandbox/mac/xpc_message_server.h |
index c509bab0d819e9e6cbf36345b6fcd09700ebf578..9342ef0626d4da63bf1ab77cdad408824efd5f06 100644 |
--- a/sandbox/mac/xpc_message_server.h |
+++ b/sandbox/mac/xpc_message_server.h |
@@ -7,10 +7,11 @@ |
#include <AvailabilityMacros.h> |
+#include <memory> |
+ |
#include "base/mac/dispatch_source_mach.h" |
#include "base/mac/scoped_mach_port.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "sandbox/mac/message_server.h" |
#include "sandbox/mac/xpc.h" |
#include "sandbox/sandbox_export.h" |
@@ -51,7 +52,7 @@ class SANDBOX_EXPORT XPCMessageServer : public MessageServer { |
base::mac::ScopedMachReceiveRight server_port_; |
// MACH_RECV dispatch source that handles the |server_port_|. |
- scoped_ptr<base::DispatchSourceMach> dispatch_source_; |
+ std::unique_ptr<base::DispatchSourceMach> dispatch_source_; |
// The reply message, if one has been created. |
xpc_object_t reply_message_; |