Index: content/shell/shell_devtools_delegate.cc |
diff --git a/content/shell/shell_devtools_delegate.cc b/content/shell/shell_devtools_delegate.cc |
index 15cdce8bb6fdea408b687fdadf04deb819b100bc..b0a6da6fe4c72dd1252657d30c085ac6cb25e5c7 100644 |
--- a/content/shell/shell_devtools_delegate.cc |
+++ b/content/shell/shell_devtools_delegate.cc |
@@ -8,6 +8,7 @@ |
#include "content/public/browser/devtools_http_handler.h" |
#include "grit/shell_resources.h" |
+#include "net/base/tcp_listen_socket.h" |
#include "net/url_request/url_request_context_getter.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -18,8 +19,7 @@ ShellDevToolsDelegate::ShellDevToolsDelegate( |
net::URLRequestContextGetter* context_getter) |
: context_getter_(context_getter) { |
devtools_http_handler_ = DevToolsHttpHandler::Start( |
- "127.0.0.1", |
- port, |
+ new net::TCPListenSocketFactory("127.0.0.1", port), |
"", |
context_getter_, |
this); |