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

Unified Diff: mojo/dart/embedder/test/dart_to_cpp_tests.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 | « examples/dart/hello_world/hello/main.dart ('k') | mojo/dart/test/bindings_generation_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/embedder/test/dart_to_cpp_tests.dart
diff --git a/mojo/dart/embedder/test/dart_to_cpp_tests.dart b/mojo/dart/embedder/test/dart_to_cpp_tests.dart
index f9621ae01502539f8c4734c498b760f914d952e0..d2e70d6a24e3e019e893d36cf7f4467b98bd9148 100644
--- a/mojo/dart/embedder/test/dart_to_cpp_tests.dart
+++ b/mojo/dart/embedder/test/dart_to_cpp_tests.dart
@@ -22,7 +22,7 @@ class DartSideImpl implements DartSide {
Completer _completer;
DartSideImpl(core.MojoMessagePipeEndpoint endpoint) {
- _stub = new DartSideStub.fromEndpoint(endpoint, impl: this);
+ _stub = new DartSideStub.fromEndpoint(endpoint, this);
_sampleData = new Uint8List(CAPACITY_BYTES);
for (int i = 0; i < _sampleData.length; ++i) {
_sampleData[i] = i;
@@ -107,7 +107,6 @@ class DartSideImpl implements DartSide {
Future<bool> get future => _completer.future;
}
-
main(List args) {
assert(args.length == 2);
int mojoHandle = args[0];
« no previous file with comments | « examples/dart/hello_world/hello/main.dart ('k') | mojo/dart/test/bindings_generation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698