[Webkit-unassigned] [Bug 184037] [WPE] Floating point exception in WebEventFactory::createWebWheelEvent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 29 04:47:19 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=184037
--- Comment #7 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 336737
--> https://bugs.webkit.org/attachment.cgi?id=336737
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=336737&action=review
Let's just avoid any division by using something like `(event->value >= 0 ? 1.0 : -1.0) * std::abs(event->value)`. Or better yet, use std::copysign().
> Source/WebKit/ChangeLog:9
> + * Shared/wpe/WebEventFactory.cpp:
> + (WebKit::WebEventFactory::createWebWheelEvent):
Please describe the changes that are done here. See other ChangeLog entries for examples.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180329/43cfd7f3/attachment.html>
More information about the webkit-unassigned
mailing list