summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_win.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
index cc9aa36..25fcbf2 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
@@ -1665,7 +1665,8 @@ bool AutocompleteEditViewWin::OnKeyDownOnlyWritable(TCHAR key,
// FALL THROUGH
case VK_UP:
case VK_DOWN:
- if (flags & KF_ALTDOWN)
+ // Ignore alt + numpad, but treat alt + (non-numpad) like (non-numpad).
+ if ((flags & KF_ALTDOWN) && !(flags & KF_EXTENDED))
return false;
model_->OnUpOrDownKeyPressed(((key == VK_PRIOR) || (key == VK_UP)) ?