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

Unified Diff: mojo/dart/apptests/test_apps/pingpong/lib/main.dart

Issue 1983453002: Dart: Refactor Stubs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge 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: mojo/dart/apptests/test_apps/pingpong/lib/main.dart
diff --git a/mojo/dart/apptests/test_apps/pingpong/lib/main.dart b/mojo/dart/apptests/test_apps/pingpong/lib/main.dart
index e450290812bc727ed30066ead355ba33e6c6ccd8..1787e15f448525a869195eceb774e8d98b3c98b1 100644
--- a/mojo/dart/apptests/test_apps/pingpong/lib/main.dart
+++ b/mojo/dart/apptests/test_apps/pingpong/lib/main.dart
@@ -102,7 +102,7 @@ class PingPongServiceImpl implements PingPongService {
getPingPongServiceDelayed(PingPongServiceStub serviceStub) {
Timer.run(() {
- var endpoint = serviceStub.unbind();
+ var endpoint = serviceStub.ctrl.unbind();
new Timer(const Duration(milliseconds: 10), () {
var targetServiceProxy = new PingPongServiceProxy.unbound();
_application.connectToService(
@@ -110,7 +110,7 @@ class PingPongServiceImpl implements PingPongService {
// Pass along the interface request to another implementation of the
// service.
- serviceStub.bind(endpoint);
+ serviceStub.ctrl.bind(endpoint);
targetServiceProxy.getPingPongService(serviceStub);
targetServiceProxy.close();
});

Powered by Google App Engine
This is Rietveld 408576698