| Index: services/dart/test/pingpong_target/main.dart
|
| diff --git a/services/dart/test/pingpong_target/main.dart b/services/dart/test/pingpong_target/main.dart
|
| index 56c219c782ad931574c304ad21bffe0a7ee8517b..ba6e2b43ba8e073c3326a3c6f55a6f2b3f7ab685 100644
|
| --- a/services/dart/test/pingpong_target/main.dart
|
| +++ b/services/dart/test/pingpong_target/main.dart
|
| @@ -39,10 +39,10 @@ class PingPongServiceImpl extends PingPongService {
|
| class PingPongApplication extends Application {
|
| PingPongApplication.fromHandle(MojoHandle handle) : super.fromHandle(handle);
|
|
|
| - void acceptConnection(String requestorUrl, ServiceProvider serviceProvider) {
|
| - serviceProvider.registerFactory(PingPongService.name,
|
| + void acceptConnection(String requestorUrl, ApplicationConnection connection) {
|
| + connection.provideService(PingPongService.name,
|
| (endpoint) => new PingPongServiceImpl(this, endpoint));
|
| - serviceProvider.listen();
|
| + connection.listen();
|
| }
|
| }
|
|
|
|
|