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

Unified Diff: tests/isolate/src/APIv2_spawnUriBrowserTest.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_spawnUriBrowserTest.dart
diff --git a/tests/isolate/src/APIv2_spawnUriBrowserTest.dart b/tests/isolate/src/APIv2_spawnUriBrowserTest.dart
index 5389885ac92d43f711bbce9eb1b20825b955164b..b79b082e767717c4f209233b630689c2f988f0cb 100644
--- a/tests/isolate/src/APIv2_spawnUriBrowserTest.dart
+++ b/tests/isolate/src/APIv2_spawnUriBrowserTest.dart
@@ -21,7 +21,7 @@ main() {
});
// TODO(eub): make this work for non-JS targets.
- Isolate2 c = new Isolate2.fromUri('APIv2_spawnUriChildIsolate.js');
- c.sendPort.send('hi', port.toSendPort());
+ SendPort s = spawnUri('APIv2_spawnUriChildIsolate.js');
+ s.send('hi', port.toSendPort());
});
}
« no previous file with comments | « tests/isolate/src/APIv2_spawnUriBrowserNegativeTest.dart ('k') | tests/isolate/src/APIv2_spawnUriChildIsolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698