Index: sync/syncable/syncable_unittest.cc |
diff --git a/sync/syncable/syncable_unittest.cc b/sync/syncable/syncable_unittest.cc |
index 0ce1fd2cb45541f06d743f2a80f8385738ee3458..854bb2d1996c26ef31a08a0143c5ebf0896d2710 100644 |
--- a/sync/syncable/syncable_unittest.cc |
+++ b/sync/syncable/syncable_unittest.cc |
@@ -1669,7 +1669,7 @@ class OnDiskSyncableDirectoryTest : public SyncableDirectoryTest { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
file_path_ = temp_dir_.path().Append( |
FILE_PATH_LITERAL("Test.sqlite3")); |
- base::Delete(file_path_, true); |
+ base::DeleteFile(file_path_, true); |
CreateDirectory(); |
} |
@@ -1677,7 +1677,7 @@ class OnDiskSyncableDirectoryTest : public SyncableDirectoryTest { |
// This also closes file handles. |
dir_->SaveChanges(); |
dir_.reset(); |
- base::Delete(file_path_, true); |
+ base::DeleteFile(file_path_, true); |
} |
// Creates a new directory. Deletes the old directory, if it exists. |
@@ -2125,7 +2125,7 @@ TEST_F(SyncableDirectoryManagement, TestFileRelease) { |
dir.Close(); |
// Closing the directory should have released the backing database file. |
- ASSERT_TRUE(base::Delete(path, true)); |
+ ASSERT_TRUE(base::DeleteFile(path, true)); |
} |
class StressTransactionsDelegate : public base::PlatformThread::Delegate { |