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

Unified Diff: examples/ganesh_app/texture_uploader.cc

Issue 845593003: Pass ServiceProvider and ServiceProvider& params in Connect (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: services & exposed_services Created 5 years, 11 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/ganesh_app/texture_uploader.cc
diff --git a/examples/ganesh_app/texture_uploader.cc b/examples/ganesh_app/texture_uploader.cc
index 2c8f831dd0ca4d08331d20378ab9dd584e5bea66..65b5b1f0558ac05a7756aa0fcafa8ec4303dad47 100644
--- a/examples/ganesh_app/texture_uploader.cc
+++ b/examples/ganesh_app/texture_uploader.cc
@@ -34,7 +34,8 @@ TextureUploader::TextureUploader(Client* client,
mojo::ServiceProviderPtr surfaces_service_provider;
shell->ConnectToApplication("mojo:surfaces_service",
- mojo::GetProxy(&surfaces_service_provider));
+ mojo::GetProxy(&surfaces_service_provider),
+ mojo::ServiceProviderPtr());
mojo::ConnectToService(surfaces_service_provider.get(), &surfaces_service_);
surfaces_service_->CreateSurfaceConnection(

Powered by Google App Engine
This is Rietveld 408576698