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

Unified Diff: frog/lib/isolate.js

Issue 8540024: minor fix to get dartcombat tests passing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « client/tests/client/client.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/lib/isolate.js
diff --git a/frog/lib/isolate.js b/frog/lib/isolate.js
index 7061613c57f49de588451eade704eeef8615cac7..0d5c5fd290d6ceefc9ef3d811c37f6b94e381aaf 100644
--- a/frog/lib/isolate.js
+++ b/frog/lib/isolate.js
@@ -36,7 +36,7 @@ function isolate$receiveMessage(port, isolate,
isolate$IsolateEvent.enqueue(isolate, function() {
var message = isolate$deserializeMessage(serializedMessage);
var replyTo = isolate$deserializeMessage(serializedReplyTo);
- port._callback(message, replyTo);
+ if (port._callback) port._callback(message, replyTo);
});
}
« no previous file with comments | « client/tests/client/client.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698