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

Unified Diff: services/ui/public/cpp/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 | « services/ui/public/cpp/gpu/gpu.cc ('k') | services/ui/public/cpp/window_tree_host_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_tree_client.cc
diff --git a/services/ui/public/cpp/window_tree_client.cc b/services/ui/public/cpp/window_tree_client.cc
index b8478673480b51db6c513421be3751266ffc7206..e0dbb98249b539bd68c5f59d29224ca92394475b 100644
--- a/services/ui/public/cpp/window_tree_client.cc
+++ b/services/ui/public/cpp/window_tree_client.cc
@@ -151,7 +151,7 @@ void WindowTreeClient::ConnectViaWindowTreeFactory(
client_id_ = 101;
mojom::WindowTreeFactoryPtr factory;
- connector->ConnectToInterface(ui::mojom::kServiceName, &factory);
+ connector->BindInterface(ui::mojom::kServiceName, &factory);
mojom::WindowTreePtr window_tree;
factory->CreateWindowTree(MakeRequest(&window_tree),
binding_.CreateInterfacePtrAndBind());
@@ -163,7 +163,7 @@ void WindowTreeClient::ConnectAsWindowManager(
DCHECK(window_manager_delegate_);
mojom::WindowManagerWindowTreeFactoryPtr factory;
- connector->ConnectToInterface(ui::mojom::kServiceName, &factory);
+ connector->BindInterface(ui::mojom::kServiceName, &factory);
mojom::WindowTreePtr window_tree;
factory->CreateWindowTree(MakeRequest(&window_tree),
binding_.CreateInterfacePtrAndBind());
« no previous file with comments | « services/ui/public/cpp/gpu/gpu.cc ('k') | services/ui/public/cpp/window_tree_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698