| Index: webkit/glue/webview_impl.cc
|
| ===================================================================
|
| --- webkit/glue/webview_impl.cc (revision 25695)
|
| +++ webkit/glue/webview_impl.cc (working copy)
|
| @@ -632,15 +632,10 @@
|
|
|
| PlatformKeyboardEventBuilder evt(event);
|
|
|
| - if (WebInputEvent::RawKeyDown == event.type) {
|
| - if (handler->keyEvent(evt) && !evt.isSystemKey()) {
|
| + if (handler->keyEvent(evt)) {
|
| + if (WebInputEvent::RawKeyDown == event.type && !evt.isSystemKey())
|
| suppress_next_keypress_event_ = true;
|
| - return true;
|
| - }
|
| - } else {
|
| - if (handler->keyEvent(evt)) {
|
| - return true;
|
| - }
|
| + return true;
|
| }
|
|
|
| return KeyEventDefault(event);
|
|
|