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

Unified Diff: chrome/browser/ui/ash/volume_controller.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 | « chrome/browser/ui/ash/system_tray_client.cc ('k') | chrome/browser/ui/ash/vpn_list_forwarder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/volume_controller.cc
diff --git a/chrome/browser/ui/ash/volume_controller.cc b/chrome/browser/ui/ash/volume_controller.cc
index 3447be83b20811e376927600128064e4042ea41a..ea9eda2c1e5cc8f806ad1e23edfed20ab1be222b 100644
--- a/chrome/browser/ui/ash/volume_controller.cc
+++ b/chrome/browser/ui/ash/volume_controller.cc
@@ -42,8 +42,8 @@ VolumeController::VolumeController() : binding_(this) {
service_manager::Connector* connector =
content::ServiceManagerConnection::GetForProcess()->GetConnector();
ash::mojom::AcceleratorControllerPtr accelerator_controller_ptr;
- connector->ConnectToInterface(ash_util::GetAshServiceName(),
- &accelerator_controller_ptr);
+ connector->BindInterface(ash_util::GetAshServiceName(),
+ &accelerator_controller_ptr);
// Register this object as the volume controller.
accelerator_controller_ptr->SetVolumeController(
« no previous file with comments | « chrome/browser/ui/ash/system_tray_client.cc ('k') | chrome/browser/ui/ash/vpn_list_forwarder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698