| Index: chrome/browser/ui/browser_init.cc
|
| diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc
|
| index 6d2661a3cfc66d279d96c8a76eb1e65b0cba3d0b..3e485073d5543807a5c4fd4b2d72d2615126377d 100644
|
| --- a/chrome/browser/ui/browser_init.cc
|
| +++ b/chrome/browser/ui/browser_init.cc
|
| @@ -672,17 +672,7 @@ bool BrowserInit::LaunchWithProfile::Launch(
|
| if (command_line_.HasSwitch(switches::kDumpHistogramsOnExit))
|
| base::StatisticsRecorder::set_dump_on_exit(true);
|
|
|
| - if (command_line_.HasSwitch(switches::kRemoteShellPort)) {
|
| - std::string port_str =
|
| - command_line_.GetSwitchValueASCII(switches::kRemoteShellPort);
|
| - int64 port;
|
| - if (base::StringToInt64(port_str, &port) && port > 0 && port < 65535) {
|
| - g_browser_process->InitDevToolsLegacyProtocolHandler(
|
| - static_cast<int>(port));
|
| - } else {
|
| - DLOG(WARNING) << "Invalid remote shell port number " << port;
|
| - }
|
| - } else if (command_line_.HasSwitch(switches::kRemoteDebuggingPort)) {
|
| + if (command_line_.HasSwitch(switches::kRemoteDebuggingPort)) {
|
| std::string port_str =
|
| command_line_.GetSwitchValueASCII(switches::kRemoteDebuggingPort);
|
| int64 port;
|
|
|