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

Unified Diff: corelib/src/isolate.dart

Issue 8370031: Fix for events fired on different isolates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove Isolate.bind. Created 9 years, 2 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
Index: corelib/src/isolate.dart
diff --git a/corelib/src/isolate.dart b/corelib/src/isolate.dart
index fa1df775ddaa987e698f3e25cc9d76ca08c18769..54ec293eadffd2ab76c71314452c43814c25a34f 100644
--- a/corelib/src/isolate.dart
+++ b/corelib/src/isolate.dart
@@ -177,18 +177,4 @@ class Isolate {
final bool _isLight;
ReceivePort _port;
-
- /**
- * Before callbacks can be registered in the DOM, they need to be bound
- * to the current isolate.
- *
- * This is necessary due to a bug in the Dart-to-JavaScript pipeline and
- * should soon be fixed.
- */
- // BUG(5151491): Remove this once we automatically bind functions to
- // the isolate they live in.
- static Function bind(Function f) {
- // This method just forwards to the isolate native implementation.
- return IsolateNatives.bind(f);
- }
}
« client/testing/unittest/unittestsuite.dart ('K') | « compiler/lib/implementation/isolate.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698