Index: remoting/host/pairing_registry_delegate_win.cc |
diff --git a/remoting/host/pairing_registry_delegate_win.cc b/remoting/host/pairing_registry_delegate_win.cc |
index 1beac2f566cd4a607446aab36a4a2801ed2e27c7..a714e31c38432388ce74c846f9a2d71dd45404cd 100644 |
--- a/remoting/host/pairing_registry_delegate_win.cc |
+++ b/remoting/host/pairing_registry_delegate_win.cc |
@@ -49,10 +49,10 @@ scoped_ptr<base::DictionaryValue> ReadValue(const base::win::RegKey& key, |
// Parse the value. |
std::string value_json_utf8 = base::WideToUTF8(value_json); |
- JSONStringValueSerializer serializer(&value_json_utf8); |
+ JSONStringValueDeserializer deserializer(value_json_utf8); |
int error_code; |
std::string error_message; |
- scoped_ptr<base::Value> value(serializer.Deserialize(&error_code, |
+ scoped_ptr<base::Value> value(deserializer.Deserialize(&error_code, |
&error_message)); |
if (!value) { |
LOG(ERROR) << "Failed to parse '" << value_name << "': " << error_message |