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

Unified Diff: views/events/event.cc

Issue 8150001: Quick fix for NativeTextfieldViewsTest on win aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revise test expectation logic. Created 9 years, 2 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
« no previous file with comments | « views/controls/textfield/native_textfield_views_unittest.cc ('k') | views/events/event_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/events/event.cc
diff --git a/views/events/event.cc b/views/events/event.cc
index 4efe7c359331a14714bcfe72125434f6c5c4f845..c62ea2201fedb8b65f2233b7f71ad573218ede43 100644
--- a/views/events/event.cc
+++ b/views/events/event.cc
@@ -88,7 +88,7 @@ KeyEvent::KeyEvent(ui::EventType type,
int event_flags)
: Event(type, event_flags),
key_code_(key_code),
- character_(0),
+ character_(GetCharacterFromKeyCode(key_code, event_flags)),
unmodified_character_(0) {
}
« no previous file with comments | « views/controls/textfield/native_textfield_views_unittest.cc ('k') | views/events/event_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698