| Index: components/sync/syncable/syncable_unittest.cc
|
| diff --git a/components/sync/syncable/syncable_unittest.cc b/components/sync/syncable/syncable_unittest.cc
|
| index 4b4e6b810cf12eb2fef6e6ed1a94c31d9ccea403..c2df5240d9df3e512c31fa48ca4951314ec38114 100644
|
| --- a/components/sync/syncable/syncable_unittest.cc
|
| +++ b/components/sync/syncable/syncable_unittest.cc
|
| @@ -132,7 +132,7 @@ TEST(OnDiskSyncableDirectory, MAYBE_FailInitialWrite) {
|
| base::ScopedTempDir temp_dir;
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
| base::FilePath file_path =
|
| - temp_dir.path().Append(FILE_PATH_LITERAL("Test.sqlite3"));
|
| + temp_dir.GetPath().Append(FILE_PATH_LITERAL("Test.sqlite3"));
|
| std::string name = "user@x.com";
|
| NullDirectoryChangeDelegate delegate;
|
|
|
| @@ -152,7 +152,7 @@ class OnDiskSyncableDirectoryTest : public SyncableDirectoryTest {
|
| void SetUp() override {
|
| SyncableDirectoryTest::SetUp();
|
| ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
|
| - file_path_ = temp_dir_.path().Append(FILE_PATH_LITERAL("Test.sqlite3"));
|
| + file_path_ = temp_dir_.GetPath().Append(FILE_PATH_LITERAL("Test.sqlite3"));
|
| base::DeleteFile(file_path_, false);
|
| CreateDirectory();
|
| }
|
| @@ -551,7 +551,7 @@ class SyncableDirectoryManagement : public testing::Test {
|
|
|
| TEST_F(SyncableDirectoryManagement, TestFileRelease) {
|
| base::FilePath path =
|
| - temp_dir_.path().Append(Directory::kSyncDatabaseFilename);
|
| + temp_dir_.GetPath().Append(Directory::kSyncDatabaseFilename);
|
|
|
| {
|
| Directory dir(new OnDiskDirectoryBackingStore("ScopeTest", path),
|
|
|