| Index: remoting/host/desktop_session_agent.cc
|
| diff --git a/remoting/host/desktop_session_agent.cc b/remoting/host/desktop_session_agent.cc
|
| index 297bc87a76b901f82fa6629bfcc901794f01946a..5abb0d6af11341cafd77fb5c69b100777f2dd7c2 100644
|
| --- a/remoting/host/desktop_session_agent.cc
|
| +++ b/remoting/host/desktop_session_agent.cc
|
| @@ -103,12 +103,7 @@ bool DesktopSessionAgent::OnMessageReceived(const IPC::Message& message) {
|
| IPC_END_MESSAGE_MAP()
|
| }
|
|
|
| - // Close the channel if the received message wasn't expected.
|
| - if (!handled) {
|
| - LOG(ERROR) << "An unexpected IPC message received: type=" << message.type();
|
| - OnChannelError();
|
| - }
|
| -
|
| + CHECK(handled) << "Received unexpected IPC type: " << message.type();
|
| return handled;
|
| }
|
|
|
|
|