Index: components/leveldb/leveldb_mojo_proxy.h |
diff --git a/components/leveldb/leveldb_mojo_proxy.h b/components/leveldb/leveldb_mojo_proxy.h |
index ed4258201dfa27591eb3f6b440708207a342c38a..cced2b2192d97a46c83214d6284f5d2fe284e00d 100644 |
--- a/components/leveldb/leveldb_mojo_proxy.h |
+++ b/components/leveldb/leveldb_mojo_proxy.h |
@@ -6,6 +6,7 @@ |
#define COMPONENTS_LEVELDB_LEVELDB_MOJO_PROXY_H_ |
#include <map> |
+#include <memory> |
#include <string> |
#include <utility> |
#include <vector> |
@@ -13,7 +14,6 @@ |
#include "base/callback_forward.h" |
#include "base/files/file.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/threading/thread.h" |
#include "components/filesystem/public/interfaces/directory.mojom.h" |
@@ -144,7 +144,7 @@ class LevelDBMojoProxy : public base::RefCountedThreadSafe<LevelDBMojoProxy> { |
const std::string& path, |
filesystem::FileError* out_error, |
OpaqueLock** out_lock); |
- void UnlockFileImpl(scoped_ptr<OpaqueLock> lock, |
+ void UnlockFileImpl(std::unique_ptr<OpaqueLock> lock, |
filesystem::FileError* out_error); |
// The task runner which represents the thread that all mojo objects are |