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

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

Issue 982673002: Dart: Removes need to call listen(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge Created 5 years, 10 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
Index: mojo/public/dart/src/stub.dart
diff --git a/mojo/public/dart/src/stub.dart b/mojo/public/dart/src/stub.dart
index f11747abf89b666f20e0cb97e349d5684929ecbb..03407a67bc925e61e344bf9708d996cda09272d2 100644
--- a/mojo/public/dart/src/stub.dart
+++ b/mojo/public/dart/src/stub.dart
@@ -8,13 +8,11 @@ abstract class Stub extends core.MojoEventStreamListener {
int _outstandingResponseFutures = 0;
bool _isClosing = false;
- Stub.fromEndpoint(core.MojoMessagePipeEndpoint endpoint, {bool doListen: true,
- Function onClosed})
- : super.fromEndpoint(endpoint, doListen: doListen, onClosed: onClosed);
+ Stub.fromEndpoint(core.MojoMessagePipeEndpoint endpoint)
+ : super.fromEndpoint(endpoint);
- Stub.fromHandle(core.MojoHandle handle, {bool doListen: true,
- Function onClosed})
- : super.fromHandle(handle, doListen: doListen, onClosed: onClosed);
+ Stub.fromHandle(core.MojoHandle handle)
+ : super.fromHandle(handle);
Stub.unbound() : super.unbound();

Powered by Google App Engine
This is Rietveld 408576698