Index: content/shell/shell_devtools_delegate.cc |
=================================================================== |
--- content/shell/shell_devtools_delegate.cc (revision 151267) |
+++ content/shell/shell_devtools_delegate.cc (working copy) |
@@ -14,10 +14,11 @@ |
namespace content { |
ShellDevToolsDelegate::ShellDevToolsDelegate( |
+ int port, |
net::URLRequestContextGetter* context_getter) |
: context_getter_(context_getter) { |
devtools_http_handler_ = DevToolsHttpHandler::Start( |
- new net::TCPListenSocketFactory("127.0.0.1", 0), |
+ new net::TCPListenSocketFactory("127.0.0.1", port), |
"", |
context_getter_, |
this); |