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

Unified Diff: ash/accelerators/accelerator_dispatcher.cc

Issue 12316136: Small non-essential fixes around the code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reconciled commits Created 7 years, 10 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 | « no previous file | base/move.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_dispatcher.cc
diff --git a/ash/accelerators/accelerator_dispatcher.cc b/ash/accelerators/accelerator_dispatcher.cc
index f8456d50a2c28d5b4594ac8a4df9e4bb58399490..3dd60f8eeae846dabbd9c064166c9af882bc0f03 100644
--- a/ash/accelerators/accelerator_dispatcher.cc
+++ b/ash/accelerators/accelerator_dispatcher.cc
@@ -48,7 +48,7 @@ bool IsPossibleAcceleratorNotForMenu(const ui::KeyEvent& key_event) {
// repost the event. That allows for the shortcut execution after
// the context menu has exited.
if (key_event.type() == ui::ET_KEY_PRESSED &&
- key_event.flags() & (ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN)) {
+ (key_event.flags() & (ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN))) {
const ui::KeyboardCode key_code = key_event.key_code();
if ((key_code >= ui::VKEY_A && key_code <= ui::VKEY_Z) ||
(key_code >= ui::VKEY_0 && key_code <= ui::VKEY_9) ||
« no previous file with comments | « no previous file | base/move.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698