| Index: content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| index 644e608b6b7c2a5fe608c597a77a1183d5563c15..4e0d690819d7fb215f4aef342bd7294302cbe3f2 100644
|
| --- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| +++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/sequenced_task_runner.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -76,7 +77,8 @@ class TestableIndexedDBBackingStore : public IndexedDBBackingStore {
|
| leveldb::Status* status) {
|
| DCHECK(!path_base.empty());
|
|
|
| - std::unique_ptr<LevelDBComparator> comparator(new Comparator());
|
| + std::unique_ptr<LevelDBComparator> comparator =
|
| + base::MakeUnique<Comparator>();
|
|
|
| if (!base::CreateDirectory(path_base)) {
|
| *status = leveldb::Status::IOError("Unable to create base dir");
|
|
|