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

Unified Diff: mojo/public/dart/src/codec.dart

Issue 982673002: Dart: Removes need to call listen(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge and Format Created 5 years, 9 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/public/dart/src/application_connection.dart ('k') | mojo/public/dart/src/event_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/src/codec.dart
diff --git a/mojo/public/dart/src/codec.dart b/mojo/public/dart/src/codec.dart
index ce037276316fd2c0acd74d32ebf39b4aeea9e4c8..29da473c51db2200d20b6786b6ddf8f2bf824a70 100644
--- a/mojo/public/dart/src/codec.dart
+++ b/mojo/public/dart/src/codec.dart
@@ -210,6 +210,7 @@ class Encoder {
assert(!interface.isBound);
var pipe = new core.MojoMessagePipe();
interface.bind(pipe.endpoints[0]);
+ interface.listen();
encodeMessagePipeHandle(pipe.endpoints[1], offset, nullable);
} else if (interface is Proxy) {
assert(interface.isBound);
@@ -232,6 +233,7 @@ class Encoder {
}
var pipe = new core.MojoMessagePipe();
client.impl.bind(pipe.endpoints[0]);
+ client.impl.listen();
encodeMessagePipeHandle(pipe.endpoints[1], offset, nullable);
}
« no previous file with comments | « mojo/public/dart/src/application_connection.dart ('k') | mojo/public/dart/src/event_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698