summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/renderer_host/gtk_im_context_wrapper.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/gtk_im_context_wrapper.cc b/chrome/browser/renderer_host/gtk_im_context_wrapper.cc
index 6381e9b..265c9f1 100644
--- a/chrome/browser/renderer_host/gtk_im_context_wrapper.cc
+++ b/chrome/browser/renderer_host/gtk_im_context_wrapper.cc
@@ -287,6 +287,7 @@ void GtkIMContextWrapper::ProcessFilteredKeyPressEvent(
// Backspace key event, the browser may go back to previous page.
if (wke->os_event) {
wke->os_event->keyval = GDK_VoidSymbol;
+ wke->os_event->hardware_keycode = 0;
wke->os_event->state = 0;
}
}