Index: base/json/json_file_value_serializer.cc |
diff --git a/base/json/json_file_value_serializer.cc b/base/json/json_file_value_serializer.cc |
index 70d0c88f3cc3be93d9002e4a882f271b8873478b..e33080ccd6b9111f6e84fbd835d56ff0624fa11f 100644 |
--- a/base/json/json_file_value_serializer.cc |
+++ b/base/json/json_file_value_serializer.cc |
@@ -36,9 +36,8 @@ bool JSONFileValueSerializer::SerializeInternal(const base::Value& root, |
return false; |
int data_size = static_cast<int>(json_string.size()); |
- if (file_util::WriteFile(json_file_path_, |
- json_string.data(), |
- data_size) != data_size) |
+ if (base::WriteFile(json_file_path_, json_string.data(), data_size) != |
+ data_size) |
return false; |
return true; |