Index: content/browser/dom_storage/session_storage_database.h |
diff --git a/content/browser/dom_storage/session_storage_database.h b/content/browser/dom_storage/session_storage_database.h |
index d4e80e4353eda2fe4230865798f5e821db83f693..7ca2da71846f9198c9f80912e899151fdfafa417 100644 |
--- a/content/browser/dom_storage/session_storage_database.h |
+++ b/content/browser/dom_storage/session_storage_database.h |
@@ -8,12 +8,12 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <string> |
#include "base/files/file_path.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/lock.h" |
#include "content/common/content_export.h" |
#include "content/common/dom_storage/dom_storage_types.h" |
@@ -191,7 +191,7 @@ class CONTENT_EXPORT SessionStorageDatabase : |
static std::string MapKey(const std::string& map_id, const std::string& key); |
static const char* NextMapIdKey(); |
- scoped_ptr<leveldb::DB> db_; |
+ std::unique_ptr<leveldb::DB> db_; |
base::FilePath file_path_; |
// For protecting the database opening code. Also guards the variables below. |