Index: chrome/common/extensions/extension.cc |
=================================================================== |
--- chrome/common/extensions/extension.cc (revision 123228) |
+++ chrome/common/extensions/extension.cc (working copy) |
@@ -289,7 +289,7 @@ |
// We support Ctrl+foo, Alt+foo, Ctrl+Shift+foo, Alt+Shift+foo, but not |
// Ctrl+Alt+foo. For a more detailed reason why we don't support Ctrl+Alt+foo: |
// http://blogs.msdn.com/b/oldnewthing/archive/2004/03/29/101121.aspx. |
- if (key == ui::VKEY_UNKNOWN || (ctrl == true && alt == true)) { |
+ if (key == ui::VKEY_UNKNOWN || (ctrl && alt)) { |
*error = ExtensionErrorUtils::FormatErrorMessageUTF16( |
errors::kInvalidKeyBinding, |
base::IntToString(index), |