Index: components/policy/core/common/cloud/user_cloud_policy_store.cc |
diff --git a/components/policy/core/common/cloud/user_cloud_policy_store.cc b/components/policy/core/common/cloud/user_cloud_policy_store.cc |
index 46706eb341c10f41580e4350978e572be9695636..3d298e6f0204e1c5fbb432089b1c696eb5ed7e9b 100644 |
--- a/components/policy/core/common/cloud/user_cloud_policy_store.cc |
+++ b/components/policy/core/common/cloud/user_cloud_policy_store.cc |
@@ -107,7 +107,7 @@ bool WriteStringToFile(const base::FilePath path, const std::string& data) { |
} |
int size = data.size(); |
- if (file_util::WriteFile(path, data.c_str(), size) != size) { |
+ if (base::WriteFile(path, data.c_str(), size) != size) { |
DLOG(WARNING) << "Failed to write " << path.value(); |
return false; |
} |