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

Unified Diff: dart/sdk/lib/_internal/lib/isolate_helper.dart

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | « dart/sdk/lib/_internal/lib/async_patch.dart ('k') | dart/sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/lib/isolate_helper.dart
===================================================================
--- dart/sdk/lib/_internal/lib/isolate_helper.dart (revision 29808)
+++ dart/sdk/lib/_internal/lib/isolate_helper.dart (working copy)
@@ -729,7 +729,7 @@
const _NativeJsSendPort(this._receivePort, int isolateId) : super(isolateId);
- void send(var message, [SendPort replyTo]) {
+ void send(var message) {
_waitForPendingPorts(message, () {
// Check that the isolate still runs and the port is still open
final isolate = _globalState.isolates[_isolateId];
@@ -775,7 +775,7 @@
const _WorkerSendPort(this._workerId, int isolateId, this._receivePortId)
: super(isolateId);
- void send(var message, [SendPort replyTo]) {
+ void send(var message) {
_waitForPendingPorts(message, () {
final workerMessage = _serializeMessage({
'command': 'message',
@@ -846,9 +846,9 @@
_idCount++;
}
- void send(var message, [SendPort replyTo]) {
+ void send(var message) {
if (_port != null) {
- _port.send(message, replyTo);
+ _port.send(message);
} else {
pending.add(message);
}
« no previous file with comments | « dart/sdk/lib/_internal/lib/async_patch.dart ('k') | dart/sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698