summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_easy_unlock_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/dbus/fake_easy_unlock_client.cc')
-rw-r--r--chromeos/dbus/fake_easy_unlock_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromeos/dbus/fake_easy_unlock_client.cc b/chromeos/dbus/fake_easy_unlock_client.cc
index ee741fb..7744188 100644
--- a/chromeos/dbus/fake_easy_unlock_client.cc
+++ b/chromeos/dbus/fake_easy_unlock_client.cc
@@ -20,8 +20,8 @@ const char kEc256PublicKeyKey[] = "ec_p256_public_key";
// Extracts key pair index from a key in format "<key_type>: <key_pair_index>}".
int ExtractKeyPairIndexFromKey(const std::string& key,
const std::string& key_type) {
- JSONStringValueSerializer serializer(key);
- scoped_ptr<base::Value> json_value(serializer.Deserialize(NULL, NULL));
+ JSONStringValueDeserializer deserializer(key);
+ scoped_ptr<base::Value> json_value(deserializer.Deserialize(NULL, NULL));
if (!json_value)
return -1;