Index: remoting/protocol/channel_multiplexer.cc |
diff --git a/remoting/protocol/channel_multiplexer.cc b/remoting/protocol/channel_multiplexer.cc |
index 9a6fc9603fb1e1e843862216eb151e38a2dd63da..e8c195a3e7c24f8e0187e230ee2396e074725d74 100644 |
--- a/remoting/protocol/channel_multiplexer.cc |
+++ b/remoting/protocol/channel_multiplexer.cc |
@@ -482,6 +482,7 @@ void ChannelMultiplexer::NotifyWriteFailed(const std::string& name) { |
void ChannelMultiplexer::OnIncomingPacket(scoped_ptr<MultiplexPacket> packet, |
const base::Closure& done_task) { |
+ DCHECK(packet->has_channel_id()); |
if (!packet->has_channel_id()) { |
LOG(ERROR) << "Received packet without channel_id."; |
done_task.Run(); |