Index: net/disk_cache/simple/simple_index_file_posix.cc |
diff --git a/net/disk_cache/simple/simple_index_file_posix.cc b/net/disk_cache/simple/simple_index_file_posix.cc |
index 586699d2a8ebb8935a031f87d156fabdbf1d7f9d..e0dd3dd126a98801b5711eb892d8ca79bd9b3bfc 100644 |
--- a/net/disk_cache/simple/simple_index_file_posix.cc |
+++ b/net/disk_cache/simple/simple_index_file_posix.cc |
@@ -9,10 +9,10 @@ |
#include <sys/types.h> |
#include <unistd.h> |
+#include <memory> |
#include <string> |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
namespace disk_cache { |
namespace { |
@@ -21,7 +21,7 @@ struct DirCloser { |
void operator()(DIR* dir) { closedir(dir); } |
}; |
-typedef scoped_ptr<DIR, DirCloser> ScopedDir; |
+typedef std::unique_ptr<DIR, DirCloser> ScopedDir; |
} // namespace |