Index: content/browser/download/download_file_unittest.cc |
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc |
index 141808685f79cdc69ccafba7d6975a60f5d0c4f3..cc30d51d8eed566f7b5ded60c99183087844d3b9 100644 |
--- a/content/browser/download/download_file_unittest.cc |
+++ b/content/browser/download/download_file_unittest.cc |
@@ -414,7 +414,7 @@ TEST_F(DownloadFileTest, RenameFileFinal) { |
ASSERT_FALSE(base::PathExists(path_5)); |
static const char file_data[] = "xyzzy"; |
ASSERT_EQ(static_cast<int>(sizeof(file_data) - 1), |
- file_util::WriteFile(path_5, file_data, sizeof(file_data) - 1)); |
+ base::WriteFile(path_5, file_data, sizeof(file_data) - 1)); |
ASSERT_TRUE(base::PathExists(path_5)); |
EXPECT_TRUE(base::ReadFileToString(path_5, &file_contents)); |
EXPECT_EQ(std::string(file_data), file_contents); |
@@ -442,7 +442,7 @@ TEST_F(DownloadFileTest, RenameUniquifies) { |
ASSERT_FALSE(base::PathExists(path_1)); |
static const char file_data[] = "xyzzy"; |
ASSERT_EQ(static_cast<int>(sizeof(file_data)), |
- file_util::WriteFile(path_1, file_data, sizeof(file_data))); |
+ base::WriteFile(path_1, file_data, sizeof(file_data))); |
ASSERT_TRUE(base::PathExists(path_1)); |
EXPECT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE, RenameAndUniquify(path_1, NULL)); |