Index: chromeos/tools/onc_validator/onc_validator.cc |
diff --git a/chromeos/tools/onc_validator/onc_validator.cc b/chromeos/tools/onc_validator/onc_validator.cc |
index d47597ebab631135cd093b13fc74633b38d6d5fb..84a92202c9c40ce8d6f4b435cb6556967de753f3 100644 |
--- a/chromeos/tools/onc_validator/onc_validator.cc |
+++ b/chromeos/tools/onc_validator/onc_validator.cc |
@@ -84,13 +84,13 @@ void PrintHelp() { |
scoped_ptr<base::DictionaryValue> ReadDictionary(std::string filename) { |
base::FilePath path(filename); |
- JSONFileValueSerializer serializer(path); |
- serializer.set_allow_trailing_comma(true); |
+ JSONFileValueDeserializer deserializer(path); |
+ deserializer.set_allow_trailing_comma(true); |
base::DictionaryValue* dict = NULL; |
std::string json_error; |
- base::Value* value = serializer.Deserialize(NULL, &json_error); |
+ base::Value* value = deserializer.Deserialize(NULL, &json_error); |
if (!value) { |
LOG(ERROR) << "Couldn't json-deserialize file '" << filename |
<< "': " << json_error; |