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

Unified Diff: examples/bitmap_uploader/bitmap_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
« no previous file with comments | « no previous file | examples/content_handler_demo/content_handler_demo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/bitmap_uploader/bitmap_uploader.cc
diff --git a/examples/bitmap_uploader/bitmap_uploader.cc b/examples/bitmap_uploader/bitmap_uploader.cc
index 48b4cc72e1dcacdc3b0e368a737dcbfeb6f25c84..008dc8d7924291421b9c5f138354cfb9e0b36851 100644
--- a/examples/bitmap_uploader/bitmap_uploader.cc
+++ b/examples/bitmap_uploader/bitmap_uploader.cc
@@ -45,13 +45,13 @@ BitmapUploader::BitmapUploader(View* view)
void BitmapUploader::Init(Shell* shell) {
ServiceProviderPtr surfaces_service_provider;
shell->ConnectToApplication("mojo:surfaces_service",
- GetProxy(&surfaces_service_provider));
+ GetProxy(&surfaces_service_provider), nullptr);
ConnectToService(surfaces_service_provider.get(), &surface_);
surface_.set_client(this);
ServiceProviderPtr gpu_service_provider;
shell->ConnectToApplication("mojo:native_viewport_service",
- GetProxy(&gpu_service_provider));
+ GetProxy(&gpu_service_provider), nullptr);
ConnectToService(gpu_service_provider.get(), &gpu_service_);
CommandBufferPtr gles2_client;
« no previous file with comments | « no previous file | examples/content_handler_demo/content_handler_demo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698