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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1687693002: Rename ConnectToService to ConnectToInterface() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sp2
Patch Set: . Created 4 years, 10 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: components/mus/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index afda3498ac25909c0d4605cd73219e8b61865561..107e6f4aac702f4e9efab9eaca5117122232506c 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -166,7 +166,7 @@ void WindowTreeClientImpl::ConnectViaWindowTreeFactory(
connection_id_ = 101;
mojom::WindowTreeFactoryPtr factory;
- shell->ConnectToService("mojo:mus", &factory);
+ shell->ConnectToInterface("mojo:mus", &factory);
factory->CreateWindowTree(GetProxy(&tree_ptr_),
binding_.CreateInterfacePtrAndBind());
tree_ = tree_ptr_.get();
« no previous file with comments | « components/font_service/public/cpp/font_loader.cc ('k') | components/mus/public/cpp/lib/window_tree_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698