Index: ash/system/chromeos/keyboard_brightness_controller.cc |
diff --git a/ash/system/chromeos/keyboard_brightness_controller.cc b/ash/system/chromeos/keyboard_brightness_controller.cc |
index f3f34c14717da8733451daf698d8f76dca6022be..bad8d09cde438ab61e4cf30224494aefed3c0521 100644 |
--- a/ash/system/chromeos/keyboard_brightness_controller.cc |
+++ b/ash/system/chromeos/keyboard_brightness_controller.cc |
@@ -15,7 +15,7 @@ namespace ash { |
bool KeyboardBrightnessController::HandleKeyboardBrightnessDown( |
const ui::Accelerator& accelerator) { |
- if (accelerator.key_code() == ui::VKEY_F6) { |
+ if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN) { |
Shell::GetInstance()->delegate()->RecordUserMetricsAction( |
UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6); |
} |
@@ -27,7 +27,7 @@ bool KeyboardBrightnessController::HandleKeyboardBrightnessDown( |
bool KeyboardBrightnessController::HandleKeyboardBrightnessUp( |
const ui::Accelerator& accelerator) { |
- if (accelerator.key_code() == ui::VKEY_F7) { |
+ if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP) { |
Shell::GetInstance()->delegate()->RecordUserMetricsAction( |
UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7); |
} |