Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / remoting / protocol / channel_multiplexer.cc
index 9a6fc96..e8c195a 100644 (file)
@@ -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();