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. |