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

Unified Diff: mojo/dart/test/validation_test.dart

Issue 968243003: Dart: Adds optional named arguments for creating bindings. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Binding -> Stub, delegate -> impl 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/dart/test/validation_test.dart
diff --git a/mojo/dart/test/validation_test.dart b/mojo/dart/test/validation_test.dart
index 978a5bbe66d2d901d2e3c5005ae9463cd41316e6..2aaa49d622f926b49d941325d5437712b89315f0 100644
--- a/mojo/dart/test/validation_test.dart
+++ b/mojo/dart/test/validation_test.dart
@@ -19,9 +19,8 @@ class ConformanceTestInterfaceImpl implements ConformanceTestInterface {
ConformanceTestInterfaceImpl(this._completer,
MojoMessagePipeEndpoint endpoint) {
- _stub = new ConformanceTestInterfaceStub.fromEndpoint(endpoint)
- ..delegate = this
- ..listen();
+ _stub = new ConformanceTestInterfaceStub.fromEndpoint(
+ endpoint, impl: this);
}
void _complete() => _completer.complete(null);

Powered by Google App Engine
This is Rietveld 408576698