[Webkit-unassigned] [Bug 57948] JSC bindings generator: support non-object numbers as callback arguments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 16:06:28 PDT 2011


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





--- Comment #12 from Darin Adler <darin at apple.com>  2011-04-26 16:06:29 PST ---
(From update of attachment 88576)
View in context: https://bugs.webkit.org/attachment.cgi?id=88576&action=review

> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:2290
> +                    push(@implContent, "    args.append(jsNumber(static_cast<$paramType>(${paramName})));\n");

Why the static_cast? The code should work fine, perhaps better, without it.

-- 
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