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

Unified Diff: sdk/lib/isolate/isolate.dart

Issue 40023002: Make dart2js Isolate.spawn work. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove whitespace changes to dart2js_html. Created 7 years, 2 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: sdk/lib/isolate/isolate.dart
diff --git a/sdk/lib/isolate/isolate.dart b/sdk/lib/isolate/isolate.dart
index 1ee77d736294fb267755cc0ee5f1ef5afb1ae9b5..e688a722c967d94917780c24eb605825f319a55f 100644
--- a/sdk/lib/isolate/isolate.dart
+++ b/sdk/lib/isolate/isolate.dart
@@ -30,7 +30,8 @@ class Isolate {
final SendPort _controlPort;
- Isolate._fromControlPort(this._controlPort);
+ Isolate.fromControlPort(SendPort controlPort)
+ : this._controlPort = controlPort;
/**
* Creates and spawns an isolate that shares the same code as the current
@@ -98,7 +99,7 @@ abstract class SendPort {
* process). This is currently only supported by the dartvm. For now, the
* dart2js compiler only supports the restricted messages described above.
*
- * The second argument [replyTo] is deprecated.
+ * The second argument [replyTo] is deprecated and its value is ignored.
*/
void send(var message, [SendPort replyTo]);

Powered by Google App Engine
This is Rietveld 408576698