| Index: lib/runtime/dart/_isolate_helper.js
|
| diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
|
| index 5606797fd67382611b5d17a8df8eec444f770444..224cb4ac20a18b4db876d3990920a1f8a4100fac 100644
|
| --- a/lib/runtime/dart/_isolate_helper.js
|
| +++ b/lib/runtime/dart/_isolate_helper.js
|
| @@ -916,14 +916,10 @@ dart_library.library('dart/_isolate_helper', null, /* Imports */[
|
| constructors: () => ({_IsolateEvent: [_IsolateEvent, [_IsolateContext, core.Function, core.String]]}),
|
| methods: () => ({process: [dart.void, []]})
|
| });
|
| - dart.defineLazyProperties(exports, {
|
| - get _global() {
|
| - return typeof global == 'undefined' ? self : global;
|
| - }
|
| - });
|
| + const _global = typeof global == 'undefined' ? self : global;
|
| class _MainManagerStub extends core.Object {
|
| postMessage(msg) {
|
| - exports._global.postMessage(msg);
|
| + _global.postMessage(msg);
|
| }
|
| }
|
| dart.setSignature(_MainManagerStub, {
|
| @@ -933,13 +929,13 @@ dart_library.library('dart/_isolate_helper', null, /* Imports */[
|
| const _SPAWN_FAILED_SIGNAL = "spawn failed";
|
| dart.copyProperties(exports, {
|
| get globalWindow() {
|
| - return exports._global.window;
|
| + return _global.window;
|
| },
|
| get globalWorker() {
|
| - return exports._global.Worker;
|
| + return _global.Worker;
|
| },
|
| get globalPostMessageDefined() {
|
| - return !!exports._global.postMessage;
|
| + return !!_global.postMessage;
|
| }
|
| });
|
| const _MainFunction = dart.typedef('_MainFunction', () => dart.functionType(dart.dynamic, []));
|
|
|