| Index: content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| index 5f08c3ef11b4afc77da049ab64d455d407317ab5..404a28026a8261f20bd2bdea72ae4c7fa4ffdadc 100644
|
| --- a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| +++ b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "content/browser/indexed_db/indexed_db_backing_store.h"
|
| @@ -48,7 +49,7 @@ class BustedLevelDBDatabase : public LevelDBDatabase {
|
| static std::unique_ptr<LevelDBDatabase> Open(
|
| const base::FilePath& file_name,
|
| const LevelDBComparator* /*comparator*/) {
|
| - return std::unique_ptr<LevelDBDatabase>(new BustedLevelDBDatabase);
|
| + return base::MakeUnique<BustedLevelDBDatabase>();
|
| }
|
| leveldb::Status Get(const base::StringPiece& key,
|
| std::string* value,
|
|
|