| Index: sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| index d32f3321d9855f119225edb1b13d51b9b9a637a8..90cc14356f60f3ac4dfb30c4b02e6793a3f1434d 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| @@ -506,22 +506,6 @@ class IsolateNatives {
|
| JS("void", r"#.console.log(#)", globalThis, msg);
|
| }
|
|
|
| - /**
|
| - * Extract the constructor of runnable, so it can be allocated in another
|
| - * isolate.
|
| - */
|
| - static dynamic _getJSConstructor(Isolate runnable) {
|
| - return JS("", "#.constructor", runnable);
|
| - }
|
| -
|
| - /** Extract the constructor name of a runnable */
|
| - // TODO(sigmund): find a browser-generic way to support this.
|
| - // TODO(floitsch): is this function still used? If yes, should we use
|
| - // Primitives.objectTypeName instead?
|
| - static dynamic _getJSConstructorName(Isolate runnable) {
|
| - return JS("", "#.constructor.name", runnable);
|
| - }
|
| -
|
| /** Find a constructor given its name. */
|
| static dynamic _getJSConstructorFromName(String factoryName) {
|
| return JS("", r"$[#]", factoryName);
|
| @@ -1284,7 +1268,7 @@ class TimerImpl implements Timer {
|
| // loop instead of setTimeout, to make sure the futures get executed in
|
| // order.
|
| _globalState.topEventLoop.enqueue(_globalState.currentContext, () {
|
| - callback(this);
|
| + callback(this);
|
| }, 'timer');
|
| _inEventLoop = true;
|
| } else if (hasTimer()) {
|
|
|