Index: components/update_client/component_unpacker.cc |
diff --git a/components/update_client/component_unpacker.cc b/components/update_client/component_unpacker.cc |
index eb1b2d89d97aff4a25135e3956d76392e9a1485a..efde910b7137d4a97e7e03bca08a541a99c6a8de 100644 |
--- a/components/update_client/component_unpacker.cc |
+++ b/components/update_client/component_unpacker.cc |
@@ -125,9 +125,9 @@ scoped_ptr<base::DictionaryValue> ReadManifest( |
unpack_path.Append(FILE_PATH_LITERAL("manifest.json")); |
if (!base::PathExists(manifest)) |
return scoped_ptr<base::DictionaryValue>(); |
- JSONFileValueSerializer serializer(manifest); |
+ JSONFileValueDeserializer deserializer(manifest); |
std::string error; |
- scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); |
+ scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, &error)); |
if (!root.get()) |
return scoped_ptr<base::DictionaryValue>(); |
if (!root->IsType(base::Value::TYPE_DICTIONARY)) |