Index: ui/base/resource/data_pack_unittest.cc |
diff --git a/ui/base/resource/data_pack_unittest.cc b/ui/base/resource/data_pack_unittest.cc |
index e3cd2fbb3c7ab010646c910f348ead71b2a5889e..1840d7095093ee9feaa005caa5733c9b77c55999 100644 |
--- a/ui/base/resource/data_pack_unittest.cc |
+++ b/ui/base/resource/data_pack_unittest.cc |
@@ -28,7 +28,7 @@ TEST(DataPackTest, LoadFromPath) { |
base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); |
// Dump contents into the pak file. |
- ASSERT_EQ(file_util::WriteFile(data_path, kSamplePakContents, kSamplePakSize), |
+ ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize), |
static_cast<int>(kSamplePakSize)); |
// Load the file through the data pack API. |
@@ -60,7 +60,7 @@ TEST(DataPackTest, LoadFromFile) { |
base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); |
// Dump contents into the pak file. |
- ASSERT_EQ(file_util::WriteFile(data_path, kSamplePakContents, kSamplePakSize), |
+ ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize), |
static_cast<int>(kSamplePakSize)); |
base::File file(data_path, base::File::FLAG_OPEN | base::File::FLAG_READ); |