| Index: mojo/dart/packages/mojo/lib/src/application.dart
|
| diff --git a/mojo/dart/packages/mojo/lib/src/application.dart b/mojo/dart/packages/mojo/lib/src/application.dart
|
| index ba19009916ac0bc61c6a29db97d5cff1d7235795..4cc7d87ec76c4cb58caa8c64112c0d3db867b36e 100644
|
| --- a/mojo/dart/packages/mojo/lib/src/application.dart
|
| +++ b/mojo/dart/packages/mojo/lib/src/application.dart
|
| @@ -13,13 +13,13 @@ class _ApplicationImpl implements application_mojom.Application {
|
| Application application, core.MojoMessagePipeEndpoint endpoint) {
|
| _application = application;
|
| _stub = new application_mojom.ApplicationStub.fromEndpoint(endpoint, this);
|
| - _stub.onError = ((_) => close());
|
| + _stub.ctrl.onError = ((_) => close());
|
| }
|
|
|
| _ApplicationImpl.fromHandle(Application application, core.MojoHandle handle) {
|
| _application = application;
|
| _stub = new application_mojom.ApplicationStub.fromHandle(handle, this);
|
| - _stub.onError = ((_) => close());
|
| + _stub.ctrl.onError = ((_) => close());
|
| }
|
|
|
| _ApplicationImpl.fromStub(Application application,
|
| @@ -27,11 +27,11 @@ class _ApplicationImpl implements application_mojom.Application {
|
| _application = application;
|
| _stub = applicationStub;
|
| _stub.impl = this;
|
| - _stub.onError = ((_) => close());
|
| + _stub.ctrl.onError = ((_) => close());
|
| }
|
|
|
| set onError(core.ErrorHandler f) {
|
| - _stub.onError = f;
|
| + _stub.ctrl.onError = f;
|
| }
|
|
|
| void initialize(
|
|
|