Index: ui/base/resource/resource_bundle_unittest.cc |
diff --git a/ui/base/resource/resource_bundle_unittest.cc b/ui/base/resource/resource_bundle_unittest.cc |
index cfd4a44e6c063d9ae293c8decc740347edcdbf8f..5133607230a123dec1095d793f276ee15fa08836 100644 |
--- a/ui/base/resource/resource_bundle_unittest.cc |
+++ b/ui/base/resource/resource_bundle_unittest.cc |
@@ -359,7 +359,7 @@ class ResourceBundleImageTest : public ResourceBundleTest { |
// Write an empty data pak for locale data. |
const base::FilePath& locale_path = dir_path().Append( |
FILE_PATH_LITERAL("locale.pak")); |
- EXPECT_EQ(file_util::WriteFile(locale_path, kEmptyPakContents, |
+ EXPECT_EQ(base::WriteFile(locale_path, kEmptyPakContents, |
kEmptyPakSize), |
static_cast<int>(kEmptyPakSize)); |
@@ -386,7 +386,7 @@ TEST_F(ResourceBundleImageTest, LoadDataResourceBytes) { |
base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak")); |
// Dump contents into the pak files. |
- ASSERT_EQ(file_util::WriteFile(data_path, kEmptyPakContents, |
+ ASSERT_EQ(base::WriteFile(data_path, kEmptyPakContents, |
kEmptyPakSize), static_cast<int>(kEmptyPakSize)); |
// Create a resource bundle from the file. |
@@ -411,9 +411,9 @@ TEST_F(ResourceBundleImageTest, GetRawDataResource) { |
dir_path().Append(FILE_PATH_LITERAL("sample_2x.pak")); |
// Dump contents into the pak files. |
- ASSERT_EQ(file_util::WriteFile(data_path, kSamplePakContents, |
+ ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, |
kSamplePakSize), static_cast<int>(kSamplePakSize)); |
- ASSERT_EQ(file_util::WriteFile(data_2x_path, kSamplePakContents2x, |
+ ASSERT_EQ(base::WriteFile(data_2x_path, kSamplePakContents2x, |
kSamplePakSize2x), static_cast<int>(kSamplePakSize2x)); |
// Load the regular and 2x pak files. |