| Index: components/sync/syncable/directory_backing_store_unittest.cc
|
| diff --git a/components/sync/syncable/directory_backing_store_unittest.cc b/components/sync/syncable/directory_backing_store_unittest.cc
|
| index d4f05872717d12ec460b99b6f68aa3f77bbb1ec8..15781dc3e6c2594cc3d9cd3932336bbf5f6ae58e 100644
|
| --- a/components/sync/syncable/directory_backing_store_unittest.cc
|
| +++ b/components/sync/syncable/directory_backing_store_unittest.cc
|
| @@ -24,7 +24,6 @@
|
| #include "components/sync/protocol/sync.pb.h"
|
| #include "components/sync/syncable/directory.h"
|
| #include "components/sync/syncable/on_disk_directory_backing_store.h"
|
| -#include "components/sync/syncable/syncable-inl.h"
|
| #include "components/sync/test/directory_backing_store_corruption_testing.h"
|
| #include "components/sync/test/test_directory_backing_store.h"
|
| #include "sql/connection.h"
|
| @@ -4192,7 +4191,7 @@ TEST_F(DirectoryBackingStoreTest,
|
| ASSERT_TRUE(LoadAndIgnoreReturnedData(dbs.get()));
|
| ASSERT_FALSE(dbs->DidFailFirstOpenAttempt());
|
| Directory::SaveChangesSnapshot snapshot;
|
| - snapshot.dirty_metas.insert(CreateEntry(2, "").release());
|
| + snapshot.dirty_metas.insert(CreateEntry(2, ""));
|
| ASSERT_TRUE(dbs->SaveChanges(snapshot));
|
| }
|
|
|
| @@ -4241,8 +4240,7 @@ TEST_F(DirectoryBackingStoreTest,
|
| const std::string suffix(400, 'o');
|
| for (int i = 0; i < corruption_testing::kNumEntriesRequiredForCorruption;
|
| ++i) {
|
| - std::unique_ptr<EntryKernel> large_entry = CreateEntry(i, suffix);
|
| - snapshot.dirty_metas.insert(large_entry.release());
|
| + snapshot.dirty_metas.insert(CreateEntry(i, suffix));
|
| }
|
| ASSERT_TRUE(dbs->SaveChanges(snapshot));
|
| // Corrupt it.
|
|
|