Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1322)

Unified Diff: mojo/dart/packages/mojo/lib/src/application_connection.dart

Issue 1983453002: Dart: Refactor Stubs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/dart/packages/mojo/lib/src/application.dart ('k') | mojo/dart/packages/mojo/lib/src/codec.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/packages/mojo/lib/src/application_connection.dart
diff --git a/mojo/dart/packages/mojo/lib/src/application_connection.dart b/mojo/dart/packages/mojo/lib/src/application_connection.dart
index da1a28a2d31d955b9202bd497c728bd0b54b9926..fe8562ed1a9b46f71edb69cac464375fe13b6ed3 100644
--- a/mojo/dart/packages/mojo/lib/src/application_connection.dart
+++ b/mojo/dart/packages/mojo/lib/src/application_connection.dart
@@ -14,13 +14,13 @@ class LocalServiceProvider implements ServiceProvider {
LocalServiceProvider(this.connection, this._stub) {
_stub.impl = this;
- if (!_stub.isOpen) {
+ if (!_stub.ctrl.isOpen) {
throw new core.MojoApiError("The service provider stub must be open");
}
}
set onError(Function f) {
- _stub.onError = f;
+ _stub.ctrl.onError = f;
}
Future close({bool immediate: false}) => _stub.close(immediate: immediate);
« no previous file with comments | « mojo/dart/packages/mojo/lib/src/application.dart ('k') | mojo/dart/packages/mojo/lib/src/codec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698