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

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
Index: runtime/vm/custom_isolate_test.cc
diff --git a/runtime/vm/custom_isolate_test.cc b/runtime/vm/custom_isolate_test.cc
index 2a1e3a07b63ccd928e19ff182f036c7fb33836f7..a48fa2d03481fa782c8665aa0434b624e55b3b2b 100644
--- a/runtime/vm/custom_isolate_test.cc
+++ b/runtime/vm/custom_isolate_test.cc
@@ -71,7 +71,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"

Powered by Google App Engine
This is Rietveld 408576698