Index: ash/wm/power_button_controller.cc |
diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc |
index 5899b8a472675b02d1666dccbfb391b118a7f9a7..509239dbae6c4f0ddba5c90ee8885b25577d5e16 100644 |
--- a/ash/wm/power_button_controller.cc |
+++ b/ash/wm/power_button_controller.cc |
@@ -134,10 +134,8 @@ void PowerButtonController::OnLockButtonEvent( |
} |
void PowerButtonController::OnKeyEvent(ui::KeyEvent* event) { |
- if (event->key_code() == ui::VKEY_VOLUME_DOWN) { |
- volume_down_pressed_ = event->type() == ui::ET_KEY_PRESSED || |
- event->type() == ui::ET_TRANSLATED_KEY_PRESS; |
- } |
+ if (event->key_code() == ui::VKEY_VOLUME_DOWN) |
+ volume_down_pressed_ = event->type() == ui::ET_KEY_PRESSED; |
} |
#if defined(OS_CHROMEOS) |