Index: third_party/leveldatabase/chromium_logger.h |
diff --git a/third_party/leveldatabase/chromium_logger.h b/third_party/leveldatabase/chromium_logger.h |
index 9c34d4000551d2a671ac713153e01c4a5a9dbe19..ce8b035b2d8121707bc7df578f5c9b40f4d49518 100644 |
--- a/third_party/leveldatabase/chromium_logger.h |
+++ b/third_party/leveldatabase/chromium_logger.h |
@@ -7,9 +7,10 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/files/file.h" |
#include "base/format_macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string_util.h" |
#include "base/time/time.h" |
#include "third_party/leveldatabase/src/include/leveldb/env.h" |
@@ -85,7 +86,7 @@ class ChromiumLogger : public Logger { |
} |
private: |
- scoped_ptr<base::File> file_; |
+ std::unique_ptr<base::File> file_; |
}; |
} // namespace leveldb |