| Index: services/dart/test/echo/main.dart
|
| diff --git a/services/dart/test/echo/main.dart b/services/dart/test/echo/main.dart
|
| index 5d32fb2bff9cfe9c2e5c760c64a058b2c69bdd52..91dd89b29b70ff42caf1d588fe79c1d66b97432a 100644
|
| --- a/services/dart/test/echo/main.dart
|
| +++ b/services/dart/test/echo/main.dart
|
| @@ -13,9 +13,8 @@ class EchoServiceImpl implements EchoService {
|
| EchoServiceStub _stub;
|
| Application _application;
|
|
|
| - EchoServiceImpl(Application application, MojoMessagePipeEndpoint endpoint)
|
| - : _application = application {
|
| - _stub = new EchoServiceStub.fromEndpoint(endpoint, impl: this);
|
| + EchoServiceImpl(this._application, MojoMessagePipeEndpoint endpoint) {
|
| + _stub = new EchoServiceStub.fromEndpoint(endpoint, this);
|
| }
|
|
|
| echoString(String value, Function responseFactory) {
|
| @@ -33,9 +32,7 @@ class EchoApplication extends Application {
|
| void acceptConnection(String requestorUrl, String resolvedUrl,
|
| ApplicationConnection connection) {
|
| connection.provideService(
|
| - EchoServiceName,
|
| - (endpoint) => new EchoServiceImpl(this, endpoint));
|
| - connection.listen();
|
| + EchoServiceName, (endpoint) => new EchoServiceImpl(this, endpoint));
|
| }
|
| }
|
|
|
|
|