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

Unified Diff: runtime/lib/isolate_patch.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
« no previous file with comments | « no previous file | sdk/lib/_internal/lib/isolate_helper.dart » ('j') | sdk/lib/_internal/lib/isolate_patch.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate_patch.dart
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart
index 0faac617b2dfccbb5c774dcb12a0125a3c85c950..35f3a1b9d1aaa42418a6d5defe47a5964ee84f70 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -194,7 +194,7 @@ patch class Isolate {
controlPort.send([message, readyPort.sendPort]);
readyPort.handler = (_) {
readyPort.close();
- completer.complete(new Isolate._fromControlPort(controlPort));
+ completer.complete(new Isolate.fromControlPort(controlPort));
};
} catch(e, st) {
// TODO(floitsch): we want errors to go into the returned future.
@@ -212,7 +212,7 @@ patch class Isolate {
controlPort.send([message, readyPort.sendPort]);
readyPort.handler = (_) {
readyPort.close();
- completer.complete(new Isolate._fromControlPort(controlPort));
+ completer.complete(new Isolate.fromControlPort(controlPort));
};
} catch(e, st) {
// TODO(floitsch): we want errors to go into the returned future.
« no previous file with comments | « no previous file | sdk/lib/_internal/lib/isolate_helper.dart » ('j') | sdk/lib/_internal/lib/isolate_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698