[Webkit-unassigned] [Bug 83486] [EFL][DRT] EventSender needs implementation of leapForward function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 10 05:15:29 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83486





--- Comment #4 from Gyuyoung Kim <gyuyoung.kim at samsung.com>  2012-04-10 05:15:29 PST ---
(From update of attachment 136427)
View in context: https://bugs.webkit.org/attachment.cgi?id=136427&action=review

> Tools/DumpRenderTree/efl/EventSender.cpp:269
> +    MouseEventInfo* eventInfo = new MouseEventInfo(EvasMouseEventDown, modifiers, (EvasMouseButton)button);

Use static_cast instead of c-type casting.

> Tools/DumpRenderTree/efl/EventSender.cpp:352
> +    const int horizontal = - static_cast<int>(JSValueToNumber(context, arguments[0], exception));

To expression above line more clearly, why don't you modify like this.

int horizontal = -(static_cast<int>(JSValueToNumber(context, arguments[0], exception)));

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list