Index: remoting/host/win/wts_session_process_launcher.cc |
diff --git a/remoting/host/win/wts_session_process_launcher.cc b/remoting/host/win/wts_session_process_launcher.cc |
index e57d37c93e03cd573d8db8ddb0e28543c9353256..42cb702a9d3dfff8b5354045670f579cb312c602 100644 |
--- a/remoting/host/win/wts_session_process_launcher.cc |
+++ b/remoting/host/win/wts_session_process_launcher.cc |
@@ -205,16 +205,8 @@ void WtsSessionProcessLauncher::DoKillProcess(DWORD exit_code) { |
} |
} |
-void WtsSessionProcessLauncher::OnChannelConnected(DWORD peer_pid) { |
+void WtsSessionProcessLauncher::OnChannelConnected() { |
DCHECK(main_message_loop_->BelongsToCurrentThread()); |
- |
- DWORD expected_pid = GetProcessId(worker_process_); |
- if (peer_pid != expected_pid) { |
- LOG(ERROR) |
- << "Unexpected client connected: expected=" << expected_pid |
- << ", actual=" << peer_pid; |
- Stop(); |
- } |
} |
bool WtsSessionProcessLauncher::OnMessageReceived(const IPC::Message& message) { |