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

Unified Diff: mojo/dart/packages/mojo/lib/src/application.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
Index: mojo/dart/packages/mojo/lib/src/application.dart
diff --git a/mojo/dart/packages/mojo/lib/src/application.dart b/mojo/dart/packages/mojo/lib/src/application.dart
index 885996f51f4553b55033d700280b527b6b50f463..488127f602557c56e65470f6c6763353d6480deb 100644
--- a/mojo/dart/packages/mojo/lib/src/application.dart
+++ b/mojo/dart/packages/mojo/lib/src/application.dart
@@ -97,9 +97,8 @@ abstract class Application implements bindings.ServiceConnector {
// Returns a connection to the app at |url|.
ApplicationConnection connectToApplication(String url) {
var proxy = new ServiceProviderProxy.unbound();
- var stub = new ServiceProviderStub.unbound();
- _applicationImpl.shell.ptr.connectToApplication(url, proxy, stub);
- var connection = new ApplicationConnection(stub, proxy);
+ _applicationImpl.shell.ptr.connectToApplication(url, proxy, null);
+ var connection = new ApplicationConnection(null, proxy);
_applicationConnections.add(connection);
return connection;
}

Powered by Google App Engine
This is Rietveld 408576698