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

Unified Diff: lib/isolate/isolate_frog.dart

Issue 9662046: Isolate library changes for leg support. (Closed) Base URL: http://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: lib/isolate/isolate_frog.dart
===================================================================
--- lib/isolate/isolate_frog.dart (revision 5289)
+++ lib/isolate/isolate_frog.dart (working copy)
@@ -46,18 +46,3 @@
#source("frog/ports.dart");
#source("frog/messages.dart");
#native("frog/natives.js");
-
-ReceivePort _port;
-
-SendPort _spawnFunction(void topLevelFunction()) {
- final name = _IsolateNatives._getJSFunctionName(topLevelFunction);
- if (name == null) {
- throw new UnsupportedOperationException(
- "only top-level functions can be spawned.");
- }
- return _IsolateNatives._spawn2(name, null, false);
-}
-
-SendPort _spawnUri(String uri) {
- return _IsolateNatives._spawn2(null, uri, false);
-}

Powered by Google App Engine
This is Rietveld 408576698