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

Unified Diff: tests/isolate/src/APIv2_spawnUriChildIsolate.dart

Issue 9521007: isolates: remove Isolate2 interface, add top-level spawn functions, more comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: tests/isolate/src/APIv2_spawnUriChildIsolate.dart
diff --git a/tests/isolate/src/APIv2_spawnUriChildIsolate.dart b/tests/isolate/src/APIv2_spawnUriChildIsolate.dart
index 3f91c319ffb71128bb82b975b8b6d0815906d9b7..8b355308dd121d8e03616ab20fe05c88340c76ae 100644
--- a/tests/isolate/src/APIv2_spawnUriChildIsolate.dart
+++ b/tests/isolate/src/APIv2_spawnUriChildIsolate.dart
@@ -6,14 +6,6 @@
#library('SpawnUriChildIsolate');
#import('dart:isolate');
-void isolateMain(ReceivePort port) {
- port.receive((msg, reply) => reply.send("re: $msg"));
-}
-
-// Just for frog's sake. TODO(eub): clean this up when we're able to.
-main() {
- if (false) {
- isolateMain(null);
- new ReceivePort();
- }
+void main() {
+ port.receive((msg, reply) => reply.send('re: $msg'));
}
« no previous file with comments | « tests/isolate/src/APIv2_spawnUriBrowserTest.dart ('k') | tests/isolate/src/APIv2_unresolvedPortsBrowserNegativeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698