[Webkit-unassigned] [Bug 60516] Enable casting between CSSPrimitiveValue and FontWeight enum

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 9 16:46:30 PDT 2011


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





--- Comment #2 from Darin Adler <darin at apple.com>  2011-05-09 16:46:30 PST ---
(From update of attachment 92883)
View in context: https://bugs.webkit.org/attachment.cgi?id=92883&action=review

> Source/WebCore/css/CSSStyleSelector.cpp:3688
> +                        fontDescription.setWeight((FontWeight)*primitiveValue);

An explicit cast should not be needed here. Could you try 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