Index: ash/system/keyboard_brightness_controller.cc |
diff --git a/ash/system/keyboard_brightness_controller.cc b/ash/system/keyboard_brightness_controller.cc |
index 94a7a8db55e2ec9da82ed77a94aa1171a9520f3c..95af101e56bc7ace172a8a35e40a101436136f4f 100644 |
--- a/ash/system/keyboard_brightness_controller.cc |
+++ b/ash/system/keyboard_brightness_controller.cc |
@@ -4,7 +4,7 @@ |
#include "ash/system/keyboard_brightness_controller.h" |
-#include "ash/wm_shell.h" |
+#include "ash/shell_port.h" |
#include "chromeos/dbus/dbus_thread_manager.h" |
#include "chromeos/dbus/power_manager_client.h" |
#include "ui/base/accelerators/accelerator.h" |
@@ -14,7 +14,7 @@ namespace ash { |
void KeyboardBrightnessController::HandleKeyboardBrightnessDown( |
const ui::Accelerator& accelerator) { |
if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN) { |
- WmShell::Get()->RecordUserMetricsAction( |
+ ShellPort::Get()->RecordUserMetricsAction( |
UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6); |
} |
@@ -26,7 +26,7 @@ void KeyboardBrightnessController::HandleKeyboardBrightnessDown( |
void KeyboardBrightnessController::HandleKeyboardBrightnessUp( |
const ui::Accelerator& accelerator) { |
if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP) { |
- WmShell::Get()->RecordUserMetricsAction( |
+ ShellPort::Get()->RecordUserMetricsAction( |
UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7); |
} |