| Index: tools/dom/src/native_DOMPublic.dart
|
| diff --git a/tools/dom/src/native_DOMPublic.dart b/tools/dom/src/native_DOMPublic.dart
|
| index 5e96fcd4894c2a5a77c1b29a4b5ecb4a13606460..f38c63ddc0074e1e2ce676fec352522d99741dd4 100644
|
| --- a/tools/dom/src/native_DOMPublic.dart
|
| +++ b/tools/dom/src/native_DOMPublic.dart
|
| @@ -4,25 +4,6 @@
|
|
|
| part of html;
|
|
|
| -_makeSendPortFuture(spawnRequest) {
|
| - final completer = new Completer<SendPort>.sync();
|
| - final port = new ReceivePort();
|
| - port.receive((result, _) {
|
| - completer.complete(result);
|
| - port.close();
|
| - });
|
| - // TODO: SendPort.hashCode is ugly way to access port id.
|
| - spawnRequest(port.toSendPort().hashCode);
|
| - return completer.future;
|
| -}
|
| -
|
| -// This API is exploratory.
|
| -Future<SendPort> spawnDomFunction(Function f) =>
|
| - _makeSendPortFuture((portId) { _Utils.spawnDomFunction(f, portId); });
|
| -
|
| -Future<SendPort> spawnDomUri(String uri) =>
|
| - _makeSendPortFuture((portId) { _Utils.spawnDomUri(uri, portId); });
|
| -
|
| // testRunner implementation.
|
| // FIXME: provide a separate lib for testRunner.
|
|
|
|
|