Index: components/update_client/component_patcher.cc |
diff --git a/components/update_client/component_patcher.cc b/components/update_client/component_patcher.cc |
index 3077bc4f40b5a24ebe1f8a7ca71a87d285862c79..29ce7747d9b8a9b15661fb64c985eb0ae74271bc 100644 |
--- a/components/update_client/component_patcher.cc |
+++ b/components/update_client/component_patcher.cc |
@@ -30,8 +30,8 @@ base::ListValue* ReadCommands(const base::FilePath& unpack_path) { |
if (!base::PathExists(commands)) |
return NULL; |
- JSONFileValueSerializer serializer(commands); |
- scoped_ptr<base::Value> root(serializer.Deserialize(NULL, NULL)); |
+ JSONFileValueDeserializer deserializer(commands); |
+ scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, NULL)); |
return (root.get() && root->IsType(base::Value::TYPE_LIST)) |
? static_cast<base::ListValue*>(root.release()) |