Title: [140336] trunk/Source/WebKit/gtk
Revision
140336
Author
[email protected]
Date
2013-01-21 08:14:34 -0800 (Mon, 21 Jan 2013)

Log Message

[Gtk] Dispatching event list into input element.
https://bugs.webkit.org/show_bug.cgi?id=107259

Patch by Oleg Smirnov <[email protected]> on 2013-01-21
Reviewed by Martin Robinson.

Clear pending command list after dispatching events.

* WebCoreSupport/EditorClientGtk.cpp:
(WebKit::EditorClient::handleKeyboardEvent):

Modified Paths

Diff

Modified: trunk/Source/WebKit/gtk/ChangeLog (140335 => 140336)


--- trunk/Source/WebKit/gtk/ChangeLog	2013-01-21 16:07:43 UTC (rev 140335)
+++ trunk/Source/WebKit/gtk/ChangeLog	2013-01-21 16:14:34 UTC (rev 140336)
@@ -1,3 +1,15 @@
+2013-01-21  Oleg Smirnov  <[email protected]>
+
+        [Gtk] Dispatching event list into input element.
+        https://bugs.webkit.org/show_bug.cgi?id=107259
+
+        Reviewed by Martin Robinson.
+
+        Clear pending command list after dispatching events.
+
+        * WebCoreSupport/EditorClientGtk.cpp:
+        (WebKit::EditorClient::handleKeyboardEvent):
+
 2013-01-18  Martin Robinson  <[email protected]>
 
         [GTK] Add property for IndexedDB database path to WebKitGTK+

Modified: trunk/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp (140335 => 140336)


--- trunk/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp	2013-01-21 16:07:43 UTC (rev 140335)
+++ trunk/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp	2013-01-21 16:14:34 UTC (rev 140336)
@@ -464,6 +464,7 @@
             event->setDefaultHandled();
             return;
         }
+        m_pendingEditorCommands.clear();
     }
 
     // Don't allow text insertion for nodes that cannot edit.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to