| Index: webkit/glue/webview_impl.cc
|
| ===================================================================
|
| --- webkit/glue/webview_impl.cc (revision 22917)
|
| +++ webkit/glue/webview_impl.cc (working copy)
|
| @@ -607,11 +607,8 @@
|
|
|
| // It's not clear if we should continue after detecting a capslock keypress.
|
| // I'll err on the side of continuing, which is the pre-existing behaviour.
|
| - if (event.windowsKeyCode == base::VKEY_CAPITAL &&
|
| - (event.type == WebInputEvent::KeyUp ||
|
| - event.type == WebInputEvent::KeyDown)) {
|
| + if (event.windowsKeyCode == base::VKEY_CAPITAL)
|
| handler->capsLockStateMayHaveChanged();
|
| - }
|
|
|
| MakePlatformKeyboardEvent evt(event);
|
|
|
|
|