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

Unified Diff: runtime/vm/custom_isolate_test.cc

Issue 9652001: SendPort + ReceivePort changes: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/lib/isolate.dart ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/custom_isolate_test.cc
diff --git a/runtime/vm/custom_isolate_test.cc b/runtime/vm/custom_isolate_test.cc
index 9cae659e2fbbec47272408011b2041f7859e58e5..951d893be04b6f369b0250a201b431fe6a601e04 100644
--- a/runtime/vm/custom_isolate_test.cc
+++ b/runtime/vm/custom_isolate_test.cc
@@ -65,7 +65,7 @@ static const char* kCustomIsolateScriptChars =
"main() {\n"
" var isolate = new CustomIsolate(\"isolateMain\");\n"
" isolate.spawn().then((SendPort port) {\n"
- " port.call(42).receive((message, replyTo) {\n"
+ " port.call(42).then((message) {\n"
" echo('Received: ' + message);\n"
" });\n"
" });\n"
« no previous file with comments | « runtime/lib/isolate.dart ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698