Chromium Code Reviews| Index: runtime/vm/native_message_handler.cc |
| diff --git a/runtime/vm/native_message_handler.cc b/runtime/vm/native_message_handler.cc |
| index 8f8d7a6971c725426060d8f1a5aa9aa6d4666a95..0e4002c5eebc80b86132dd0dcf554c0c6da88ad6 100644 |
| --- a/runtime/vm/native_message_handler.cc |
| +++ b/runtime/vm/native_message_handler.cc |
| @@ -38,6 +38,7 @@ MessageHandler::MessageStatus NativeMessageHandler::HandleMessage( |
| // We currently do not use OOB messages for native ports. |
| UNREACHABLE(); |
| } |
| + ASSERT(message->len() > 0); |
|
Ivan Posva
2015/12/09 22:35:29
You need to support receiving the RawObject* based
|
| // We create a native scope for handling the message. |
| // All allocation of objects for decoding the message is done in the |
| // zone associated with this scope. |