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

Unified Diff: ash/mus/keyboard_ui_mus.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 | « ash/mus/app_launch_unittest.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/keyboard_ui_mus.cc
diff --git a/ash/mus/keyboard_ui_mus.cc b/ash/mus/keyboard_ui_mus.cc
index 9b728f61c103109b4792d0a8d211d7740cf36212..2f745aa61f453a71be29ec38bd0d55ca6d4c6ef0 100644
--- a/ash/mus/keyboard_ui_mus.cc
+++ b/ash/mus/keyboard_ui_mus.cc
@@ -15,8 +15,7 @@ KeyboardUIMus::KeyboardUIMus(service_manager::Connector* connector)
: is_enabled_(false), observer_binding_(this) {
if (connector) {
// TODO(sky): should be something like mojo:keyboard, but need mapping.
- connector->ConnectToInterface(content::mojom::kBrowserServiceName,
- &keyboard_);
+ connector->BindInterface(content::mojom::kBrowserServiceName, &keyboard_);
keyboard_->AddObserver(observer_binding_.CreateInterfacePtrAndBind());
}
}
« no previous file with comments | « ash/mus/app_launch_unittest.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698