| Index: sdk/lib/_internal/lib/isolate_helper.dart
|
| diff --git a/sdk/lib/_internal/lib/isolate_helper.dart b/sdk/lib/_internal/lib/isolate_helper.dart
|
| index ac4cc0f87211e3792329a71ec6ac285a545d0faa..8b0ad62a9b2a8a245f6367322bb0991617b03f41 100644
|
| --- a/sdk/lib/_internal/lib/isolate_helper.dart
|
| +++ b/sdk/lib/_internal/lib/isolate_helper.dart
|
| @@ -411,7 +411,7 @@ class _MainManagerStub {
|
|
|
| const String _SPAWNED_SIGNAL = "spawned";
|
|
|
| -var globalThis = IsolateNatives.computeGlobalThis();
|
| +var globalThis = Primitives.computeGlobalThis();
|
| var globalWindow = JS('', "#.window", globalThis);
|
| var globalWorker = JS('', "#.Worker", globalThis);
|
| bool globalPostMessageDefined =
|
| @@ -480,8 +480,6 @@ class IsolateNatives {
|
| throw new UnsupportedError('Cannot extract URI from "$stack"');
|
| }
|
|
|
| - static computeGlobalThis() => JS('', 'function() { return this; }()');
|
| -
|
| /**
|
| * Assume that [e] is a browser message event and extract its message data.
|
| * We don't import the dom explicitly so, when workers are disabled, this
|
|
|