Index: ipc/ipc_channel_reader.cc |
=================================================================== |
--- ipc/ipc_channel_reader.cc (revision 270662) |
+++ ipc/ipc_channel_reader.cc (working copy) |
@@ -95,6 +95,8 @@ |
HandleInternalMessage(m); |
else |
listener_->OnMessageReceived(m); |
+ if (m.dispatch_error()) |
+ listener_->OnBadMessageReceived(m); |
p = message_tail; |
} else { |
// Last message is partial. |