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

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

Issue 1414483010: Dart: Use a RawReceivePort to receive events for Mojo handles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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/public/dart/mojo/lib/src/application.dart ('k') | mojo/public/dart/mojo/lib/src/codec.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/mojo/lib/src/application_connection.dart
diff --git a/mojo/public/dart/mojo/lib/src/application_connection.dart b/mojo/public/dart/mojo/lib/src/application_connection.dart
index 2e80fc1a914db6288a68ca040d95f9ed1e157337..6106bf4c178afd71db04196f62553ee88a620f70 100644
--- a/mojo/public/dart/mojo/lib/src/application_connection.dart
+++ b/mojo/public/dart/mojo/lib/src/application_connection.dart
@@ -95,9 +95,9 @@ class ApplicationConnection {
_nameToServiceFactory[interfaceName] = factory;
}
- void _errorHandler() {
+ void _errorHandler(Object e) {
close().then((_) {
- if (onError != null) onError();
+ if (onError != null) onError(e);
});
}
« no previous file with comments | « mojo/public/dart/mojo/lib/src/application.dart ('k') | mojo/public/dart/mojo/lib/src/codec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698