Fix a few mistakes that landed with r163749.
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Feb 2014 09:08:02 +0000 (09:08 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Feb 2014 09:08:02 +0000 (09:08 +0000)
commit83d678b1fd742bd7625dc84243ff24e3bec62f8e
treeed4ba78553798dcafa9fbf23d9f9420516f4b6c0
parentf7ab5c2de593d810f3188524dbf54d4eb83461a6
Fix a few mistakes that landed with r163749.

Rubber-stamped by Carlos Garcia Campos.

Source/WebCore:

* platform/gtk/GtkTouchContextHelper.cpp:
(WebCore::GtkTouchContextHelper::handleEvent): When handling GDK_TOUCH_BEGIN, the assertion
should ensure that the sequence-to-event map doesn't yet contain pairs with the specific
sequence as the key.

Tools:

* WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
(WTR::EventSenderProxy::addTouchPoint): Avoid using the GUniquePtr<GdkEvent> after it's been moved
into the event vector since moving it invalidates the variable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/gtk/GtkTouchContextHelper.cpp
Tools/ChangeLog
Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp