Index: base/files/scoped_file.h |
diff --git a/base/files/scoped_file.h b/base/files/scoped_file.h |
index 106f6ad94bf7f3b0e01799a61cb8dfcab914dd95..68c04158248dec05ee10ff71505ab56c74064e7d 100644 |
--- a/base/files/scoped_file.h |
+++ b/base/files/scoped_file.h |
@@ -7,9 +7,10 @@ |
#include <stdio.h> |
+#include <memory> |
+ |
#include "base/base_export.h" |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/scoped_generic.h" |
#include "build/build_config.h" |
@@ -54,7 +55,7 @@ typedef ScopedGeneric<int, internal::ScopedFDCloseTraits> ScopedFD; |
#endif |
// Automatically closes |FILE*|s. |
-typedef scoped_ptr<FILE, internal::ScopedFILECloser> ScopedFILE; |
+typedef std::unique_ptr<FILE, internal::ScopedFILECloser> ScopedFILE; |
} // namespace base |