summaryrefslogtreecommitdiffstats
path: root/remoting/host/win/wts_session_process_launcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/win/wts_session_process_launcher.cc')
-rw-r--r--remoting/host/win/wts_session_process_launcher.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/remoting/host/win/wts_session_process_launcher.cc b/remoting/host/win/wts_session_process_launcher.cc
index e57d37c..42cb702 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) {