Index: sdk/lib/_internal/js_runtime/lib/isolate_patch.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/isolate_patch.dart b/sdk/lib/_internal/js_runtime/lib/isolate_patch.dart |
index 907f275fd3e26ed99e8b097836312582e962a014..53361cc3a48df3d41deaf033e42281062e40c66d 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/isolate_patch.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/isolate_patch.dart |
@@ -73,7 +73,7 @@ class Isolate { |
isolate.addOnErrorListener(onError); |
} |
if (!paused) { |
- isolate.resume(Isolate.pauseCapability); |
+ isolate.resume(isolate.pauseCapability); |
} |
} |
return isolate; |