Copy base::JSONReader::Read() to ReadDeprecated().

1435715
This commit is contained in:
deepak1556 2019-02-21 14:02:36 +05:30 committed by Samuel Attard
parent 6f14df039e
commit 59cb0ac32e
3 changed files with 5 additions and 3 deletions

View file

@ -45,7 +45,8 @@ void Debugger::DispatchProtocolMessage(DevToolsAgentHost* agent_host,
v8::Locker locker(isolate());
v8::HandleScope handle_scope(isolate());
std::unique_ptr<base::Value> parsed_message = base::JSONReader::Read(message);
std::unique_ptr<base::Value> parsed_message =
base::JSONReader::ReadDeprecated(message);
if (!parsed_message || !parsed_message->is_dict())
return;
base::DictionaryValue* dict =