| Index: components/devtools_http_handler/devtools_http_handler.cc
|
| diff --git a/components/devtools_http_handler/devtools_http_handler.cc b/components/devtools_http_handler/devtools_http_handler.cc
|
| index f1bf34f9b8d7b24843900be6da56af6c8c4474d2..86765589d896b12b2f9477baf3fdfa2c06e26129 100644
|
| --- a/components/devtools_http_handler/devtools_http_handler.cc
|
| +++ b/components/devtools_http_handler/devtools_http_handler.cc
|
| @@ -887,10 +887,10 @@ void DevToolsHttpHandler::AcceptWebSocket(
|
| base::Unretained(server_wrapper_), connection_id, request));
|
| }
|
|
|
| -base::DictionaryValue* DevToolsHttpHandler::SerializeDescriptor(
|
| +std::unique_ptr<base::DictionaryValue> DevToolsHttpHandler::SerializeDescriptor(
|
| scoped_refptr<DevToolsAgentHost> agent_host,
|
| const std::string& host) {
|
| - base::DictionaryValue* dictionary = new base::DictionaryValue;
|
| + std::unique_ptr<base::DictionaryValue> dictionary(new base::DictionaryValue);
|
| std::string id = agent_host->GetId();
|
| dictionary->SetString(kTargetIdField, id);
|
| std::string parent_id = agent_host->GetParentId();
|
|
|