| Index: net/disk_cache/backend_unittest.cc
|
| diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc
|
| index 47e80d0297ce150d7be51ef90a264ded83c7528c..77a9b8a7a6b57990bcc4f11a91ff2cc12e6e3b4e 100644
|
| --- a/net/disk_cache/backend_unittest.cc
|
| +++ b/net/disk_cache/backend_unittest.cc
|
| @@ -270,7 +270,7 @@ TEST_F(DiskCacheTest, CreateBackend) {
|
| TEST_F(DiskCacheBackendTest, CreateBackend_MissingFile) {
|
| ASSERT_TRUE(CopyTestCache("bad_entry"));
|
| base::FilePath filename = cache_path_.AppendASCII("data_1");
|
| - base::Delete(filename, false);
|
| + base::DeleteFile(filename, false);
|
| base::Thread cache_thread("CacheThread");
|
| ASSERT_TRUE(cache_thread.StartWithOptions(
|
| base::Thread::Options(base::MessageLoop::TYPE_IO, 0)));
|
| @@ -2778,7 +2778,7 @@ TEST_F(DiskCacheBackendTest, FileSharing) {
|
| EXPECT_TRUE(file2.IsValid());
|
| #endif
|
|
|
| - EXPECT_TRUE(base::Delete(name, false));
|
| + EXPECT_TRUE(base::DeleteFile(name, false));
|
|
|
| // We should be able to use the file.
|
| const int kSize = 200;
|
|
|