| Index: webkit/glue/webview_impl.cc
|
| ===================================================================
|
| --- webkit/glue/webview_impl.cc (revision 20472)
|
| +++ webkit/glue/webview_impl.cc (working copy)
|
| @@ -664,7 +664,7 @@
|
| return false;
|
|
|
| if (autocomplete_popup_->handleKeyEvent(MakePlatformKeyboardEvent(event))) {
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_WIN) || defined(OS_LINUX)
|
| // We need to ignore the next Char event after this otherwise pressing
|
| // enter when selecting an item in the menu will go to the page.
|
| if (WebInputEvent::RawKeyDown == event.type)
|
|
|