Index: sandbox/linux/services/proc_util.cc |
diff --git a/sandbox/linux/services/proc_util.cc b/sandbox/linux/services/proc_util.cc |
index 247c29c9127b503ffe52415c5a7dcb829bef5938..b6d58de56489f7f0a92984ee079c623c7cdfabc6 100644 |
--- a/sandbox/linux/services/proc_util.cc |
+++ b/sandbox/linux/services/proc_util.cc |
@@ -11,8 +11,9 @@ |
#include <sys/stat.h> |
#include <sys/types.h> |
+#include <memory> |
+ |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/posix/eintr_wrapper.h" |
#include "base/strings/string_number_conversions.h" |
@@ -26,7 +27,7 @@ struct DIRCloser { |
} |
}; |
-typedef scoped_ptr<DIR, DIRCloser> ScopedDIR; |
+typedef std::unique_ptr<DIR, DIRCloser> ScopedDIR; |
base::ScopedFD OpenDirectory(const char* path) { |
DCHECK(path); |