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); |
- } |
} |