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

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: Cleanup 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698