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

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

Issue 1169473003: fixes #43, remove => workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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/convert.js ('k') | lib/runtime/harmony_feature_check.js » ('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 d221567d2f5812aaa277a5c0e2859526dbfbe82f..dbe814e117f7542569bba9860ed6fb9374991179 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -144,14 +144,14 @@ var async = dart.import(async);
controller.addError(error, error.stackTrace);
};
dart.fn(handleError, dart.void, [core.Object]);
- 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)), onCancel: dart.fn((() => {
+ }), onCancel: dart.fn(() => {
this.removeErrorListener(port.sendPort);
port.close();
port = null;
- }).bind(this))});
+ })});
return controller.stream;
}
}
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/runtime/harmony_feature_check.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698