Index: remoting/host/setup/service_client.cc |
diff --git a/remoting/host/setup/service_client.cc b/remoting/host/setup/service_client.cc |
index 7c107af50ce855c7cfc3ad4ee76fb78f4174fa26..a4961f81a6d57a9aad3978ffa5e26be47890008f 100644 |
--- a/remoting/host/setup/service_client.cc |
+++ b/remoting/host/setup/service_client.cc |
@@ -151,7 +151,7 @@ void ServiceClient::Core::HandleResponse(const net::URLFetcher* source) { |
base::DictionaryValue *dict; |
std::string code; |
if (message_value.get() && |
- message_value->IsType(base::Value::TYPE_DICTIONARY) && |
+ message_value->IsType(base::Value::Type::DICTIONARY) && |
message_value->GetAsDictionary(&dict) && |
dict->GetString("data.authorizationCode", &code)) { |
delegate_->OnHostRegistered(code); |