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

Unified Diff: services/ui/view_manager/view_manager_app.cc

Issue 1916233002: Mark ApplicationImpl::ConnectTo{Application,Service}() as deprecated. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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: services/ui/view_manager/view_manager_app.cc
diff --git a/services/ui/view_manager/view_manager_app.cc b/services/ui/view_manager/view_manager_app.cc
index 98c545cac076f919e84df1eae19467a469a72cce..07d2d897b8d402026d60b18aaad22f2e9a66a2f6 100644
--- a/services/ui/view_manager/view_manager_app.cc
+++ b/services/ui/view_manager/view_manager_app.cc
@@ -36,7 +36,7 @@ void ViewManagerApp::Initialize(mojo::ApplicationImpl* app_impl) {
// Connect to compositor.
mojo::gfx::composition::CompositorPtr compositor;
- app_impl_->ConnectToService("mojo:compositor_service", &compositor);
+ app_impl_->ConnectToServiceDeprecated("mojo:compositor_service", &compositor);
compositor.set_connection_error_handler(base::Bind(
&ViewManagerApp::OnCompositorConnectionError, base::Unretained(this)));
« no previous file with comments | « services/ui/view_manager/view_associate_table.cc ('k') | services/url_response_disk_cache/url_response_disk_cache_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698