| Index: content/shell/browser/shell_devtools_frontend.cc
|
| diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc
|
| index 7d953933e46e742eb1d0b37e6e82bbfc013ef7c0..7f75b8f540a2b8e5889b1b2d8d6d1698fcc83fb8 100644
|
| --- a/content/shell/browser/shell_devtools_frontend.cc
|
| +++ b/content/shell/browser/shell_devtools_frontend.cc
|
| @@ -186,7 +186,7 @@ void ShellDevToolsFrontend::HandleMessageFromDevToolsFrontend(
|
| std::string method;
|
| base::ListValue* params = NULL;
|
| base::DictionaryValue* dict = NULL;
|
| - scoped_ptr<base::Value> parsed_message = base::JSONReader::Read(message);
|
| + std::unique_ptr<base::Value> parsed_message = base::JSONReader::Read(message);
|
| if (!parsed_message ||
|
| !parsed_message->GetAsDictionary(&dict) ||
|
| !dict->GetString("method", &method)) {
|
| @@ -230,8 +230,9 @@ void ShellDevToolsFrontend::HandleMessageFromDevToolsFrontend(
|
| fetcher->SetRequestContext(web_contents()->GetBrowserContext()->
|
| GetRequestContext());
|
| fetcher->SetExtraRequestHeaders(headers);
|
| - fetcher->SaveResponseWithWriter(scoped_ptr<net::URLFetcherResponseWriter>(
|
| - new ResponseWriter(weak_factory_.GetWeakPtr(), stream_id)));
|
| + fetcher->SaveResponseWithWriter(
|
| + std::unique_ptr<net::URLFetcherResponseWriter>(
|
| + new ResponseWriter(weak_factory_.GetWeakPtr(), stream_id)));
|
| fetcher->Start();
|
| return;
|
| } else if (method == "getPreferences") {
|
|
|