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

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: use nullptr instead of ServiceProviderPtr(), fix ShellImpl 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 f26be75290397b4129dcb77d16c300ba5669861e..67a9d05bbff0bc7c28278ac6a7fabd60470c52d7 100644
--- a/examples/ganesh_app/texture_uploader.cc
+++ b/examples/ganesh_app/texture_uploader.cc
@@ -35,7 +35,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),
+ nullptr);
mojo::ConnectToService(surfaces_service_provider.get(), &surface_);
surface_.set_client(this);
}
« no previous file with comments | « examples/content_handler_demo/content_handler_demo.cc ('k') | mojo/application_manager/application_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698