Index: third_party/crashpad/crashpad/client/crashpad_client_mac.cc |
diff --git a/third_party/crashpad/crashpad/client/crashpad_client_mac.cc b/third_party/crashpad/crashpad/client/crashpad_client_mac.cc |
index 87b01b87a2f1b68f943d75fc75ac5f962c73221e..89a2e275832f8b1066b6ac48e9f04468d4a7d8f9 100644 |
--- a/third_party/crashpad/crashpad/client/crashpad_client_mac.cc |
+++ b/third_party/crashpad/crashpad/client/crashpad_client_mac.cc |
@@ -21,11 +21,11 @@ |
#include <sys/wait.h> |
#include <unistd.h> |
+#include <memory> |
#include <utility> |
#include "base/logging.h" |
#include "base/mac/mach_logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/posix/eintr_wrapper.h" |
#include "base/strings/stringprintf.h" |
#include "util/mac/mac_util.h" |
@@ -147,7 +147,7 @@ class HandlerStarter final : public NotifyServer::DefaultInterface { |
DCHECK_EQ(right_type, |
implicit_cast<mach_msg_type_name_t>(MACH_MSG_TYPE_PORT_SEND)); |
- scoped_ptr<HandlerStarter> handler_restarter; |
+ std::unique_ptr<HandlerStarter> handler_restarter; |
if (restartable) { |
handler_restarter.reset(new HandlerStarter()); |
if (!handler_restarter->notify_port_.is_valid()) { |