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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2617883002: Add a new BindInterface() method to Connector. (Closed)
Patch Set: . Created 3 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 | « ui/aura/mus/input_method_mus.cc ('k') | ui/ozone/platform/drm/cursor_proxy_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index d64b5c2cb592768bbf2a3e01588691a66927cc0a..e29f22668d76fc7573e901e709ea7ef315616383 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -205,7 +205,7 @@ void WindowTreeClient::ConnectViaWindowTreeFactory() {
client_id_ = 101;
ui::mojom::WindowTreeFactoryPtr factory;
- connector_->ConnectToInterface(ui::mojom::kServiceName, &factory);
+ connector_->BindInterface(ui::mojom::kServiceName, &factory);
ui::mojom::WindowTreePtr window_tree;
factory->CreateWindowTree(MakeRequest(&window_tree),
binding_.CreateInterfacePtrAndBind());
@@ -216,7 +216,7 @@ void WindowTreeClient::ConnectAsWindowManager() {
DCHECK(window_manager_delegate_);
ui::mojom::WindowManagerWindowTreeFactoryPtr factory;
- connector_->ConnectToInterface(ui::mojom::kServiceName, &factory);
+ connector_->BindInterface(ui::mojom::kServiceName, &factory);
ui::mojom::WindowTreePtr window_tree;
factory->CreateWindowTree(MakeRequest(&window_tree),
binding_.CreateInterfacePtrAndBind());
« no previous file with comments | « ui/aura/mus/input_method_mus.cc ('k') | ui/ozone/platform/drm/cursor_proxy_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698