Changeset 95004 in webkit
- Timestamp:
- Sep 12, 2011 8:24:33 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r95002 r95004 1 2011-09-12 Raphael Kubo da Costa <kubo@profusion.mobi> 2 3 [EFL] Initialize m_unmodifiedText in PlatformKeyboardEventEfl. 4 https://bugs.webkit.org/show_bug.cgi?id=67038 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Since most of the time it will return the same thing as text(), we 9 initialize it the same way we initialize m_text. The other case (what 10 would have been generated if no modifiers were pressed) should be 11 covered by this as well. 12 13 As this method is used when handling access keys, tests such as 14 fast/events/access-key-self-destruct.html should now pass. 15 16 No new tests, as this fixes a problem uncovered by the existing ones. 17 18 * platform/efl/PlatformKeyboardEventEfl.cpp: 19 (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent): 20 1 21 2011-09-12 Hyowon Kim <hw1008.kim@samsung.com> 2 22 -
trunk/Source/WebCore/platform/efl/PlatformKeyboardEventEfl.cpp
r89810 r95004 192 192 : m_type(KeyDown) 193 193 , m_text(String::fromUTF8(event->string)) 194 , m_unmodifiedText(String::fromUTF8(event->string)) 194 195 , m_shiftKey(evas_key_modifier_is_set(event->modifiers, "Shift")) 195 196 , m_ctrlKey(evas_key_modifier_is_set(event->modifiers, "Control"))
Note: See TracChangeset
for help on using the changeset viewer.