diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/ipc_message_utils.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h index 8661507..807fd9f 100644 --- a/chrome/common/ipc_message_utils.h +++ b/chrome/common/ipc_message_utils.h @@ -1233,9 +1233,10 @@ class MessageWithTuple : public Message { static bool Read(const Message* msg, Param* p) { void* iter = NULL; - bool rv = ReadParam(msg, &iter, p); - DCHECK(rv) << "Error deserializing message " << msg->type(); - return rv; + if (ReadParam(msg, &iter, p)) + return true; + NOTREACHED() << "Error deserializing message " << msg->type(); + return false; } // Generic dispatcher. Should cover most cases. |