[GTK] Spurious stderr output from the event sender
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Dec 2012 17:16:01 +0000 (17:16 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Dec 2012 17:16:01 +0000 (17:16 +0000)
commita27ae43516e49e0b402030e8eceb4a40259c9296
tree84813dc1123dd633e4e59ea8500e6a2ad4d1cd94
parent1b8e1ac36bbb9f94a04c1048fb1d23797ed0790e
[GTK] Spurious stderr output from the event sender
https://bugs.webkit.org/show_bug.cgi?id=104678

Reviewed by Gustavo Noronha Silva.

Eliminate some spurious stderr output from the EventSender by using an early return
instead of an assertion that prints a warning to the console.

* DumpRenderTree/gtk/EventSender.cpp:
(continuousMouseScrollByCallback): We don't support continuous scroll events that
move by page, but we should just fail silently instead of printing an error.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/DumpRenderTree/gtk/EventSender.cpp