| 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"
|
|
|