Index: base/json/json_value_serializer_unittest.cc |
diff --git a/base/json/json_value_serializer_unittest.cc b/base/json/json_value_serializer_unittest.cc |
index 44c0a57cd27b07d2009394e3023be6411e48e9ab..f8d3a20109ac5e828125f107808d5caffff3eccb 100644 |
--- a/base/json/json_value_serializer_unittest.cc |
+++ b/base/json/json_value_serializer_unittest.cc |
@@ -118,7 +118,7 @@ TEST(JSONValueSerializerTest, ReadProperJSONFromFile) { |
// Write it down in the file. |
FilePath temp_file(tempdir.path().AppendASCII("test.json")); |
ASSERT_EQ(static_cast<int>(strlen(kProperJSON)), |
- file_util::WriteFile(temp_file, kProperJSON, strlen(kProperJSON))); |
+ WriteFile(temp_file, kProperJSON, strlen(kProperJSON))); |
// Try to deserialize it through the serializer. |
JSONFileValueSerializer file_deserializer(temp_file); |
@@ -142,9 +142,8 @@ TEST(JSONValueSerializerTest, ReadJSONWithCommasFromFile) { |
// Write it down in the file. |
FilePath temp_file(tempdir.path().AppendASCII("test.json")); |
ASSERT_EQ(static_cast<int>(strlen(kProperJSONWithCommas)), |
- file_util::WriteFile(temp_file, |
- kProperJSONWithCommas, |
- strlen(kProperJSONWithCommas))); |
+ WriteFile(temp_file, kProperJSONWithCommas, |
+ strlen(kProperJSONWithCommas))); |
// Try to deserialize it through the serializer. |
JSONFileValueSerializer file_deserializer(temp_file); |