| Index: content/browser/devtools/devtools_http_handler.cc
|
| diff --git a/content/browser/devtools/devtools_http_handler.cc b/content/browser/devtools/devtools_http_handler.cc
|
| index 22dbbadd83ea689168b94bbc03898b874beb7259..b4e475d6d457d8888586cbc4766d1b18606ee18e 100644
|
| --- a/content/browser/devtools/devtools_http_handler.cc
|
| +++ b/content/browser/devtools/devtools_http_handler.cc
|
| @@ -521,7 +521,7 @@ void DevToolsHttpHandler::OnJsonRequest(
|
| if (command == "version") {
|
| base::DictionaryValue version;
|
| version.SetString("Protocol-Version",
|
| - DevToolsAgentHost::GetProtocolVersion().c_str());
|
| + DevToolsAgentHost::GetProtocolVersion());
|
| version.SetString("WebKit-Version", GetWebKitVersion());
|
| version.SetString("Browser", product_name_);
|
| version.SetString("User-Agent", user_agent_);
|
| @@ -852,9 +852,7 @@ std::unique_ptr<base::DictionaryValue> DevToolsHttpHandler::SerializeDescriptor(
|
| host.c_str(),
|
| kPageUrlPrefix,
|
| id.c_str()));
|
| - std::string devtools_frontend_url = GetFrontendURLInternal(
|
| - id.c_str(),
|
| - host);
|
| + std::string devtools_frontend_url = GetFrontendURLInternal(id, host);
|
| dictionary->SetString(
|
| kTargetDevtoolsFrontendUrlField, devtools_frontend_url);
|
| }
|
|
|