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

Unified Diff: benchmarks/mojo_rtt_benchmark/lib/echo_server.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 | « no previous file | benchmarks/mojo_rtt_benchmark/lib/isolate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
diff --git a/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart b/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
index 260836114aba5c80a670ca28465d5b153312350d..5134158830280083441adf52512240ded221da84 100644
--- a/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
+++ b/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
@@ -23,7 +23,7 @@ class EchoImpl implements Echo {
Future close() => _stub.close();
- _errorHandler() => _application.removeService(this);
+ _errorHandler(Object e) => _application.removeService(this);
}
class EchoApplication extends Application {
@@ -59,7 +59,7 @@ class EchoApplication extends Application {
return echoService;
}
- _errorHandler() async {
+ _errorHandler(Object e) async {
_closing = true;
for (var service in _echoServices) {
await service.close();
« no previous file with comments | « no previous file | benchmarks/mojo_rtt_benchmark/lib/isolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698