Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(869)

Unified Diff: lib/runtime/dart/isolate.js

Issue 1643523008: fix #43, remove => workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart/html_common.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/isolate.js
diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
index 4f86926938799658bce99d1a4a496b0e79b4c3f9..b1f4e34334584352cd48c86c4592465e0e3179bc 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -142,14 +142,14 @@ dart_library.library('dart/isolate', null, /* Imports */[
controller.addError(error, error.stackTrace);
}
dart.fn(handleError, dart.void, [dart.dynamic]);
- controller = async.StreamController.broadcast({sync: true, onListen: dart.fn((() => {
+ controller = async.StreamController.broadcast({sync: true, onListen: dart.fn(() => {
port = RawReceivePort.new(handleError);
this.addErrorListener(port.sendPort);
- }).bind(this), dart.void, []), onCancel: dart.fn((() => {
+ }, dart.void, []), onCancel: dart.fn(() => {
this.removeErrorListener(port.sendPort);
port.close();
port = null;
- }).bind(this), dart.void, [])});
+ }, dart.void, [])});
return controller.stream;
}
}
« no previous file with comments | « lib/runtime/dart/html_common.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698