Chromium Code Reviews| Index: tests/standalone/http_launch_data/http_isolate_main.dart |
| diff --git a/tests/standalone/http_launch_data/http_isolate_main.dart b/tests/standalone/http_launch_data/http_isolate_main.dart |
| index ba7a59de5838ac18109f96e89d183fa53fab5a3a..9b1d5baf61b693c8ec951147d4daf235cef7c1c0 100644 |
| --- a/tests/standalone/http_launch_data/http_isolate_main.dart |
| +++ b/tests/standalone/http_launch_data/http_isolate_main.dart |
| @@ -4,8 +4,8 @@ |
| import 'dart:isolate'; |
| -main() { |
| - port.receive((message, replyTo) { |
| - replyTo.call(message); |
| - }); |
| +main({message}) { |
| + var data = message[0]; |
| + var replyTo = message[1]; |
| + replyTo.send(data); |
| } |