[Webkit-unassigned] [Bug 46931] New: ContextShadow should not call ceil() on m_blurRadius (an integer)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 30 13:21:44 PDT 2010


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

           Summary: ContextShadow should not call ceil() on m_blurRadius
                    (an integer)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jarred.nicholls at gmail.com


ContextShadow.cpp, lines 157 and 170, call ceil(m_blurRadius) which is passed into IntRect::inflate(int).  This is not only unnecessary (because m_blurRadius is an integer) but it causes a build error with MSVC9+ (haven't tested <MSVC9) about ambiguous call to ceil() which cannot take an integer parameter.

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