Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: views/controls/textfield/native_textfield_gtk.cc

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: views/controls/textfield/native_textfield_gtk.cc
===================================================================
--- views/controls/textfield/native_textfield_gtk.cc (revision 85284)
+++ views/controls/textfield/native_textfield_gtk.cc (working copy)
@@ -393,7 +393,7 @@
if (controller)
handled = controller->HandleKeyEvent(textfield_, views_key_event);
- WidgetGtk* widget = static_cast<WidgetGtk*>(GetWidget());
+ WidgetGtk* widget = static_cast<WidgetGtk*>(GetWidget()->native_widget());
if (!handled && widget)
handled = widget->HandleKeyboardEvent(views_key_event);
« no previous file with comments | « views/controls/table/table_view_unittest.cc ('k') | views/controls/textfield/native_textfield_views_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698