| Index: services/dart/test/pingpong/main.dart
|
| diff --git a/services/dart/test/pingpong/main.dart b/services/dart/test/pingpong/main.dart
|
| index 2e604450227639889e52831b4186591c02b00176..cfa82da3fe3a1b428dae4854c7b41dd0200f24ab 100644
|
| --- a/services/dart/test/pingpong/main.dart
|
| +++ b/services/dart/test/pingpong/main.dart
|
| @@ -107,10 +107,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();
|
| }
|
| }
|
|
|
|
|