| Index: corelib/src/implementation/promise_implementation.dart
|
| diff --git a/corelib/src/implementation/promise_implementation.dart b/corelib/src/implementation/promise_implementation.dart
|
| index bf2400f2e2b16824a14226f65cdf155569ff409f..290531995f9b12cacddc8541f0166005f6de6d07 100644
|
| --- a/corelib/src/implementation/promise_implementation.dart
|
| +++ b/corelib/src/implementation/promise_implementation.dart
|
| @@ -307,8 +307,8 @@ class ProxyBase extends PromiseImpl<bool> {
|
|
|
| void send(List message) {
|
| _marshal(message, (List marshalled) {
|
| - SendPortImpl port = _promise.value;
|
| - port._sendNow(marshalled, null);
|
| + SendPort port = _promise.value;
|
| + port.send(marshalled, null);
|
| });
|
| }
|
|
|
| @@ -319,8 +319,8 @@ class ProxyBase extends PromiseImpl<bool> {
|
| final result = new Promise();
|
| // The promise queue implementation guarantees that promise is
|
| // resolved at this point.
|
| - SendPortImpl outgoing = _promise.value;
|
| - ReceivePort incoming = outgoing._callNow(marshalled);
|
| + SendPort outgoing = _promise.value;
|
| + ReceivePort incoming = outgoing.call(marshalled);
|
| incoming.receive((List receiveMessage, replyTo) {
|
| result.complete(receiveMessage[0]);
|
| });
|
|
|