| Index: components/sync/driver/glue/sync_backend_host_impl_unittest.cc
|
| diff --git a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
|
| index 39e66bbadea25d9aedc9084b5bd95e4d0f49110f..244167ebb8333c20f32766ab3ed3d820334cd824 100644
|
| --- a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
|
| +++ b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
|
| @@ -180,7 +180,7 @@ class SyncBackendHostTest : public testing::Test {
|
| backend_.reset(new SyncBackendHostImpl(
|
| "dummyDebugName", &sync_client_, base::ThreadTaskRunnerHandle::Get(),
|
| nullptr, sync_prefs_->AsWeakPtr(),
|
| - temp_dir_.path().Append(base::FilePath(kTestSyncDir))));
|
| + temp_dir_.GetPath().Append(base::FilePath(kTestSyncDir))));
|
| credentials_.account_id = "user@example.com";
|
| credentials_.email = "user@example.com";
|
| credentials_.sync_token = "sync_token";
|
| @@ -734,7 +734,7 @@ TEST_F(SyncBackendHostTest, DownloadControlTypesRestart) {
|
| TEST_F(SyncBackendHostTest, TestStartupWithOldSyncData) {
|
| const char* nonsense = "slon";
|
| base::FilePath temp_directory =
|
| - temp_dir_.path().Append(base::FilePath(kTestSyncDir));
|
| + temp_dir_.GetPath().Append(base::FilePath(kTestSyncDir));
|
| base::FilePath sync_file = temp_directory.AppendASCII("SyncData.sqlite3");
|
| ASSERT_TRUE(base::CreateDirectory(temp_directory));
|
| ASSERT_NE(-1, base::WriteFile(sync_file, nonsense, strlen(nonsense)));
|
|
|