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

Unified Diff: compiler/lib/implementation/isolate.js

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: compiler/lib/implementation/isolate.js
diff --git a/compiler/lib/implementation/isolate.js b/compiler/lib/implementation/isolate.js
index 38109702232de2fbd316b8d738731f99663d763b..ade42a0e9a68a1b2cb01572433fdfe43d1b7e88e 100644
--- a/compiler/lib/implementation/isolate.js
+++ b/compiler/lib/implementation/isolate.js
@@ -301,18 +301,6 @@ function native_IsolateNatives__spawn(runnable, light, replyPort) {
}
}
-function native_IsolateNatives_bind(fn) {
- var isolate = isolate$current;
- return function() {
- var self = this;
- var args = arguments;
- isolate.run(function() {
- fn.apply(self, args);
- });
- isolate$runEventLoop();
- };
-}
-
function isolate$startNonWorker(runnable, replyTo) {
// Spawn a new isolate and create the receive port in it.
var spawned = new isolate$Isolate();

Powered by Google App Engine
This is Rietveld 408576698