summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/policy/power_policy_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/policy/power_policy_browsertest.cc')
-rw-r--r--chrome/browser/chromeos/policy/power_policy_browsertest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/policy/power_policy_browsertest.cc b/chrome/browser/chromeos/policy/power_policy_browsertest.cc
index 75719935..51aa2d4 100644
--- a/chrome/browser/chromeos/policy/power_policy_browsertest.cc
+++ b/chrome/browser/chromeos/policy/power_policy_browsertest.cc
@@ -210,7 +210,7 @@ void PowerPolicyBrowserTestBase::InstallUserKey() {
std::vector<uint8> user_key_bits;
ASSERT_TRUE(user_policy_.GetSigningKey()->ExportPublicKey(&user_key_bits));
ASSERT_TRUE(base::CreateDirectory(user_key_file.DirName()));
- ASSERT_EQ(file_util::WriteFile(
+ ASSERT_EQ(base::WriteFile(
user_key_file,
reinterpret_cast<const char*>(user_key_bits.data()),
user_key_bits.size()),