summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/find_bar_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/gtk/find_bar_gtk.cc')
-rw-r--r--chrome/browser/ui/gtk/find_bar_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/gtk/find_bar_gtk.cc b/chrome/browser/ui/gtk/find_bar_gtk.cc
index ffc0364..0df4fbd 100644
--- a/chrome/browser/ui/gtk/find_bar_gtk.cc
+++ b/chrome/browser/ui/gtk/find_bar_gtk.cc
@@ -670,7 +670,7 @@ bool FindBarGtk::MaybeForwardKeyEventToRenderer(GdkEventKey* event) {
// input. Otherwise Up and Down arrow key strokes get eaten. "Nom Nom Nom".
render_view_host->ClearFocusedNode();
- NativeWebKeyboardEvent wke(event);
+ NativeWebKeyboardEvent wke(reinterpret_cast<GdkEvent*>(event));
render_view_host->ForwardKeyboardEvent(wke);
return true;
}