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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 187793002: Fix file still using old Isolate constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
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 87a8024f0ec89c4f379cdb4b0631e82dca536472..0b846e15126b830d3ad3ad284f0ef5caaf5c7575 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -238,7 +238,7 @@ patch class Isolate {
readyPort.handler = (readyMessage) {
assert(readyMessage == 'started');
readyPort.close();
- completer.complete(new Isolate._fromControlPort(controlPort));
+ completer.complete(new Isolate(controlPort));
};
return completer.future;
} catch (e, st) {
@@ -258,7 +258,7 @@ patch class Isolate {
readyPort.handler = (readyMessage) {
assert(readyMessage == 'started');
readyPort.close();
- completer.complete(new Isolate._fromControlPort(controlPort));
+ completer.complete(new Isolate(controlPort));
};
return completer.future;
} catch (e, st) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698