| Index: dart/lib/isolate/frog/ports.dart
|
| diff --git a/dart/lib/isolate/frog/ports.dart b/dart/lib/isolate/frog/ports.dart
|
| index f7cddf477488be256ddc587a8ce16c83276550d9..68081a6a3059455d2d7905179d2b05ed6a9eb6aa 100644
|
| --- a/dart/lib/isolate/frog/ports.dart
|
| +++ b/dart/lib/isolate/frog/ports.dart
|
| @@ -9,7 +9,7 @@ class _BaseSendPort implements SendPort {
|
|
|
| const _BaseSendPort(this._isolateId);
|
|
|
| - static void checkReplyTo(SendPort replyTo) {
|
| + void _checkReplyTo(SendPort replyTo) {
|
| if (replyTo !== null
|
| && replyTo is! _NativeJsSendPort
|
| && replyTo is! _WorkerSendPort
|
| @@ -46,7 +46,7 @@ class _NativeJsSendPort extends _BaseSendPort implements SendPort {
|
|
|
| void send(var message, [SendPort replyTo = null]) {
|
| _waitForPendingPorts([message, replyTo], () {
|
| - checkReplyTo(replyTo);
|
| + _checkReplyTo(replyTo);
|
| // Check that the isolate still runs and the port is still open
|
| final isolate = _globalState.isolates[_isolateId];
|
| if (isolate == null) return;
|
| @@ -96,7 +96,7 @@ class _WorkerSendPort extends _BaseSendPort implements SendPort {
|
|
|
| void send(var message, [SendPort replyTo = null]) {
|
| _waitForPendingPorts([message, replyTo], () {
|
| - checkReplyTo(replyTo);
|
| + _checkReplyTo(replyTo);
|
| final workerMessage = _serializeMessage({
|
| 'command': 'message',
|
| 'port': this,
|
|
|