Index: chrome/common/mac/mock_launchd.cc |
diff --git a/chrome/common/mac/mock_launchd.cc b/chrome/common/mac/mock_launchd.cc |
index 2453335c29ead13b1c93da58b77c2df95e851bad..786654123cd384dd9abe477a5631f203ca16bcc3 100644 |
--- a/chrome/common/mac/mock_launchd.cc |
+++ b/chrome/common/mac/mock_launchd.cc |
@@ -10,6 +10,8 @@ |
#include <sys/socket.h> |
#include <sys/un.h> |
+#include <memory> |
+ |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
#include "base/mac/foundation_util.h" |
@@ -109,7 +111,7 @@ MockLaunchd::~MockLaunchd() { |
CFDictionaryRef MockLaunchd::CopyJobDictionary(CFStringRef label) { |
if (!as_service_) { |
- scoped_ptr<MultiProcessLock> running_lock( |
+ std::unique_ptr<MultiProcessLock> running_lock( |
TakeNamedLock(pipe_name_, false)); |
if (running_lock.get()) |
return NULL; |