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

Unified Diff: examples/dart/echo_client/lib/main.dart

Issue 1964193002: Dart: Refactors Proxies (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address comments Created 4 years, 7 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/device_info/lib/main.dart ('k') | examples/dart/hello_world/hello/lib/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/dart/echo_client/lib/main.dart
diff --git a/examples/dart/echo_client/lib/main.dart b/examples/dart/echo_client/lib/main.dart
index 3fd4ad149bd67c025825a8564d10c24c08d91c76..931513219a039ab640812bf97d82bdbb90a81167 100644
--- a/examples/dart/echo_client/lib/main.dart
+++ b/examples/dart/echo_client/lib/main.dart
@@ -24,7 +24,7 @@ class EchoClientApplication extends Application {
final server = (arguments.length > 0) ? arguments[1] : "dart_echo_server";
connectToService(url.replaceAll("dart_echo_client", server), _echoProxy);
- _echoProxy.ptr.echoString("hello world").then((response) {
+ _echoProxy.echoString("hello world").then((response) {
print("${response.value}");
}).whenComplete(_closeHandles);
}
« no previous file with comments | « examples/dart/device_info/lib/main.dart ('k') | examples/dart/hello_world/hello/lib/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698