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

Unified Diff: services/ui/public/cpp/window_tree_host_factory.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/window_tree_client.cc ('k') | services/ui/service.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_host_factory.cc
diff --git a/services/ui/public/cpp/window_tree_host_factory.cc b/services/ui/public/cpp/window_tree_host_factory.cc
index 0fb45fd554f26d5c66a5808bc4e2cd4cad58f45d..c6ae6ffd043cd957b62290e2c97ed614f0440b7f 100644
--- a/services/ui/public/cpp/window_tree_host_factory.cc
+++ b/services/ui/public/cpp/window_tree_host_factory.cc
@@ -31,7 +31,7 @@ std::unique_ptr<WindowTreeClient> CreateWindowTreeHost(
mojom::WindowTreeHostPtr* host,
WindowManagerDelegate* window_manager_delegate) {
mojom::WindowTreeHostFactoryPtr factory;
- connector->ConnectToInterface(ui::mojom::kServiceName, &factory);
+ connector->BindInterface(ui::mojom::kServiceName, &factory);
return CreateWindowTreeHost(factory.get(), delegate, host,
window_manager_delegate);
}
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698