[Webkit-unassigned] [Bug 46918] ContextShadow should not use the blur radius as kernel size of the box blurs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 6 05:04:44 PDT 2010


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





--- Comment #15 from Dirk Schulze <krit at webkit.org>  2010-10-06 05:04:43 PST ---
(In reply to comment #14)
> (From update of attachment 69617 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=69617&action=review
> d is unsigned, you can't use unsigned d = max(2.f
> use
> unsigned d = max<unsigned>(2, floorf(2 / 3.f * m_blurDistance)); instead.
> 
you still need a static_cast<unsigned> for floorf, sorry.

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