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

Unified Diff: services/dart/test/echo/lib/main.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/stub.dart ('k') | services/dart/test/pingpong/lib/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/test/echo/lib/main.dart
diff --git a/services/dart/test/echo/lib/main.dart b/services/dart/test/echo/lib/main.dart
index 4b5cce07ded9e8a708388d76d7b6654210c717f9..92f2771f35f0a2b675ffffb842a8b0d96ec95ae4 100644
--- a/services/dart/test/echo/lib/main.dart
+++ b/services/dart/test/echo/lib/main.dart
@@ -49,7 +49,7 @@ main(List args) {
MojoHandle appHandle = new MojoHandle(args[0]);
String url = args[1];
new EchoApplication.fromHandle(appHandle)
- ..onError = (() {
+ ..onError = ((_) {
MojoHandle.reportLeakedHandles();
});
}
« no previous file with comments | « mojo/public/dart/mojo/lib/src/stub.dart ('k') | services/dart/test/pingpong/lib/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698