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

Unified Diff: examples/dart/hello_world/hello/lib/main.dart

Issue 1964623002: Make the Dart application library code stop using the "wrong way" service provider (a.k.a. exposed_… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 | « no previous file | mojo/dart/apptests/test_apps/echo/lib/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/dart/hello_world/hello/lib/main.dart
diff --git a/examples/dart/hello_world/hello/lib/main.dart b/examples/dart/hello_world/hello/lib/main.dart
index eb1f7680bf5122e3cef602cf4fb756ddc917631c..19c0e0e72a115ff9603c7fa79f960932c6eddcaa 100644
--- a/examples/dart/hello_world/hello/lib/main.dart
+++ b/examples/dart/hello_world/hello/lib/main.dart
@@ -29,7 +29,7 @@ class Hello extends Application {
// app has a chance to come up. Instead, we wait to close this app until
// the "world" app comes up, does its print, and closes its end of the
// connection.
- c.onError = closeApplication;
+ c.remoteServiceProvider.impl.onError = closeApplication;
viettrungluu 2016/05/09 19:19:46 Since we no longer provide exposed_services, we ca
zra 2016/05/09 21:12:12 I don't think there's a better way to do this righ
}
Future closeApplication(e) async {
« no previous file with comments | « no previous file | mojo/dart/apptests/test_apps/echo/lib/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698