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

Unified Diff: ui/ozone/platform/drm/cursor_proxy_mojo.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/window_tree_client.cc ('k') | ui/views/mus/aura_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/cursor_proxy_mojo.cc
diff --git a/ui/ozone/platform/drm/cursor_proxy_mojo.cc b/ui/ozone/platform/drm/cursor_proxy_mojo.cc
index ff24d4ad81b008317f8f584c6c6e8949aba20d0d..a0918fc0a2250a92eb8a51560bd2af26a22277b5 100644
--- a/ui/ozone/platform/drm/cursor_proxy_mojo.cc
+++ b/ui/ozone/platform/drm/cursor_proxy_mojo.cc
@@ -11,12 +11,12 @@ namespace ui {
CursorProxyMojo::CursorProxyMojo(service_manager::Connector* connector)
: connector_(connector->Clone()) {
- connector->ConnectToInterface(ui::mojom::kServiceName, &main_cursor_ptr_);
+ connector->BindInterface(ui::mojom::kServiceName, &main_cursor_ptr_);
}
void CursorProxyMojo::InitializeOnEvdev() {
evdev_ref_ = base::PlatformThread::CurrentRef();
- connector_->ConnectToInterface(ui::mojom::kServiceName, &evdev_cursor_ptr_);
+ connector_->BindInterface(ui::mojom::kServiceName, &evdev_cursor_ptr_);
}
CursorProxyMojo::~CursorProxyMojo() {}
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/views/mus/aura_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698