diff options
Diffstat (limited to 'Source/WebKit2/Shared/gtk/NativeWebKeyboardEventGtk.cpp')
-rw-r--r-- | Source/WebKit2/Shared/gtk/NativeWebKeyboardEventGtk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit2/Shared/gtk/NativeWebKeyboardEventGtk.cpp b/Source/WebKit2/Shared/gtk/NativeWebKeyboardEventGtk.cpp index 424e0b3f9..834a7e091 100644 --- a/Source/WebKit2/Shared/gtk/NativeWebKeyboardEventGtk.cpp +++ b/Source/WebKit2/Shared/gtk/NativeWebKeyboardEventGtk.cpp @@ -35,16 +35,16 @@ using namespace WebCore; namespace WebKit { -NativeWebKeyboardEvent::NativeWebKeyboardEvent(GdkEvent* event, const WebCore::CompositionResults& compositionResults, GtkInputMethodFilter::EventFakedForComposition faked) - : WebKeyboardEvent(WebEventFactory::createWebKeyboardEvent(event, compositionResults)) +NativeWebKeyboardEvent::NativeWebKeyboardEvent(GdkEvent* event, const WebCore::CompositionResults& compositionResults, InputMethodFilter::EventFakedForComposition faked, Vector<String>&& commands) + : WebKeyboardEvent(WebEventFactory::createWebKeyboardEvent(event, compositionResults, WTFMove(commands))) , m_nativeEvent(gdk_event_copy(event)) , m_compositionResults(compositionResults) - , m_fakeEventForComposition(faked == GtkInputMethodFilter::EventFaked) + , m_fakeEventForComposition(faked == InputMethodFilter::EventFaked) { } NativeWebKeyboardEvent::NativeWebKeyboardEvent(const NativeWebKeyboardEvent& event) - : WebKeyboardEvent(WebEventFactory::createWebKeyboardEvent(event.nativeEvent(), event.compositionResults())) + : WebKeyboardEvent(WebEventFactory::createWebKeyboardEvent(event.nativeEvent(), event.compositionResults(), Vector<String>(event.commands()))) , m_nativeEvent(gdk_event_copy(event.nativeEvent())) , m_compositionResults(event.compositionResults()) , m_fakeEventForComposition(event.isFakeEventForComposition()) |