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

Unified Diff: sky/framework/embedder.dart

Issue 959993002: Dart: Removes name conflicts from generated bindings. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: sky/framework/embedder.dart
diff --git a/sky/framework/embedder.dart b/sky/framework/embedder.dart
index dd1eaf0aa86b4ebbadd525168bf8249e31c4a998..cc188560e4437e053a7ade58189af623cba77ef1 100644
--- a/sky/framework/embedder.dart
+++ b/sky/framework/embedder.dart
@@ -36,17 +36,17 @@ class _EmbedderImpl {
ApplicationConnection connectToApplication(String url) {
var proxy = new ServiceProviderProxy.unbound();
var stub = new ServiceProviderStub.unbound();
- shell.connectToApplication(url, proxy, stub);
+ shell.connectToApplication(url, ServiceProviderRequest(proxy), stub);
return new ApplicationConnection(stub, proxy);
}
void connectToService(String url, bindings.Proxy proxy) {
var appSp = new ServiceProviderProxy.unbound();
- shell.connectToApplication(url, appSp, null);
+ shell.connectToApplication(url, ServiceProviderRequest(appSp), null);
var pipe = new core.MojoMessagePipe();
proxy.bind(pipe.endpoints[0]);
appSp.connectToService(proxy.name, pipe.endpoints[1]);
- appSp.close();
+ ServiceProviderProxyClose(appSp);
}
}

Powered by Google App Engine
This is Rietveld 408576698