Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: runtime/vm/native_message_handler.cc

Issue 43483004: Remove the reply port form the native isolate handler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to new isolate API Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/dart_api_message.cc ('k') | samples/sample_extension/sample_asynchronous_extension.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/native_message_handler.cc
diff --git a/runtime/vm/native_message_handler.cc b/runtime/vm/native_message_handler.cc
index 83bcf5e61c19dda938fe39d1dc5cf55c7d479e7d..7b3d9b91dd2bf2ccba6e5d17e3193c9b1a7b76d6 100644
--- a/runtime/vm/native_message_handler.cc
+++ b/runtime/vm/native_message_handler.cc
@@ -51,7 +51,7 @@ bool NativeMessageHandler::HandleMessage(Message* message) {
ApiNativeScope scope;
ApiMessageReader reader(message->data(), message->len(), zone_allocator);
Dart_CObject* object = reader.ReadMessage();
- (*func())(message->dest_port(), message->reply_port(), object);
+ (*func())(message->dest_port(), object);
delete message;
return true;
}
« no previous file with comments | « runtime/vm/dart_api_message.cc ('k') | samples/sample_extension/sample_asynchronous_extension.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698