| Index: lib/runtime/dart/_isolate_helper.js
|
| diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
|
| index e1af6c506da15e8e5a20cf5777544ef0a503d98c..8dd4459a6d661c868aab084fbaf8a41c3f26cdba 100644
|
| --- a/lib/runtime/dart/_isolate_helper.js
|
| +++ b/lib/runtime/dart/_isolate_helper.js
|
| @@ -1235,11 +1235,11 @@ dart_library.library('dart/_isolate_helper', null, /* Imports */[
|
| isolate.handleControlMessage(msg);
|
| return;
|
| }
|
| - exports._globalState.topEventLoop.enqueue(isolate, dart.fn((() => {
|
| + exports._globalState.topEventLoop.enqueue(isolate, dart.fn(() => {
|
| if (!dart.notNull(this[_receivePort][_isClosed])) {
|
| this[_receivePort][_add](msg);
|
| }
|
| - }).bind(this)), `receive ${message}`);
|
| + }), `receive ${message}`);
|
| }
|
| ['=='](other) {
|
| return dart.is(other, _NativeJsSendPort) && dart.equals(this[_receivePort], other[_receivePort]);
|
| @@ -1427,9 +1427,9 @@ dart_library.library('dart/_isolate_helper', null, /* Imports */[
|
| this[_handle] = null;
|
| if (dart.notNull(hasTimer())) {
|
| enterJsAsync();
|
| - this[_handle] = self.setInterval(dart.fn((() => {
|
| + this[_handle] = self.setInterval(dart.fn(() => {
|
| callback(this);
|
| - }).bind(this)), milliseconds);
|
| + }), milliseconds);
|
| } else {
|
| dart.throw(new core.UnsupportedError("Periodic timer."));
|
| }
|
|
|