| Index: sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
|
| index 1c9d772602105508712e858586a4653910b4946b..1d50aa469d0cb44e0e619c08d0c60534857c0c72 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
|
| @@ -188,9 +188,9 @@ class _Manager {
|
| }
|
|
|
| void _nativeDetectEnvironment() {
|
| - JS("void", r"#.isWorker = $isWorker", this);
|
| - JS("void", r"#.supportsWorkers = $supportsWorkers", this);
|
| - JS("void", r"#.fromCommandLine = typeof(window) == 'undefined'", this);
|
| + JS("void", r"# = $isWorker", isWorker);
|
| + JS("void", r"# = $supportsWorkers", supportsWorkers);
|
| + JS("void", r"# = typeof(window) == 'undefined'", fromCommandLine);
|
| }
|
|
|
| void _nativeInitWorkerMessageHandler() {
|
|
|