Index: components/policy/core/common/config_dir_policy_loader_unittest.cc |
diff --git a/components/policy/core/common/config_dir_policy_loader_unittest.cc b/components/policy/core/common/config_dir_policy_loader_unittest.cc |
index de749646ac227accf3eea9158eaa3cc7ce336c75..41fc222dcbaf64139639d65c16dc3215546c4484 100644 |
--- a/components/policy/core/common/config_dir_policy_loader_unittest.cc |
+++ b/components/policy/core/common/config_dir_policy_loader_unittest.cc |
@@ -145,7 +145,7 @@ void TestHarness::WriteConfigFile(const base::DictionaryValue& dict, |
ASSERT_TRUE(base::CreateDirectory(mandatory_dir)); |
const base::FilePath file_path(mandatory_dir.AppendASCII(file_name)); |
ASSERT_EQ((int) data.size(), |
- file_util::WriteFile(file_path, data.c_str(), data.size())); |
+ base::WriteFile(file_path, data.c_str(), data.size())); |
} |
std::string TestHarness::NextConfigFileName() { |