Index: runtime/vm/native_message_handler.cc |
diff --git a/runtime/vm/native_message_handler.cc b/runtime/vm/native_message_handler.cc |
index da869e2d9c8090f1ecad4492794c2da34c762f3a..8f8d7a6971c725426060d8f1a5aa9aa6d4666a95 100644 |
--- a/runtime/vm/native_message_handler.cc |
+++ b/runtime/vm/native_message_handler.cc |
@@ -32,7 +32,8 @@ void NativeMessageHandler::CheckAccess() { |
#endif |
-bool NativeMessageHandler::HandleMessage(Message* message) { |
+MessageHandler::MessageStatus NativeMessageHandler::HandleMessage( |
+ Message* message) { |
if (message->IsOOB()) { |
// We currently do not use OOB messages for native ports. |
UNREACHABLE(); |
@@ -45,7 +46,7 @@ bool NativeMessageHandler::HandleMessage(Message* message) { |
Dart_CObject* object = reader.ReadMessage(); |
(*func())(message->dest_port(), object); |
delete message; |
- return true; |
+ return kOK; |
} |
} // namespace dart |