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

Unified Diff: mojo/ui/base_view.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
« no previous file with comments | « mojo/services/files/c/tests/mojio_impl_test_base.cc ('k') | services/asset_bundle/asset_bundle_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/base_view.cc
diff --git a/mojo/ui/base_view.cc b/mojo/ui/base_view.cc
index c47ee30f3b253abe4d5146a6780f6dd85198ac8b..76f41b98579da25c062e0b9ecd09d8e544f39ff6 100644
--- a/mojo/ui/base_view.cc
+++ b/mojo/ui/base_view.cc
@@ -17,7 +17,8 @@ BaseView::BaseView(
view_listener_binding_(this),
view_container_listener_binding_(this) {
DCHECK(app_impl_);
- app_impl_->ConnectToService("mojo:view_manager_service", &view_manager_);
+ app_impl_->ConnectToServiceDeprecated("mojo:view_manager_service",
+ &view_manager_);
mojo::ui::ViewListenerPtr view_listener;
view_listener_binding_.Bind(mojo::GetProxy(&view_listener));
« no previous file with comments | « mojo/services/files/c/tests/mojio_impl_test_base.cc ('k') | services/asset_bundle/asset_bundle_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698