[Webkit-unassigned] [Bug 126869] New: Avoid an unneeded first iteration in SVGRadialGradientElement::collectGradientAttributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 12 21:07:23 PST 2014


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

           Summary: Avoid an unneeded first iteration in
                    SVGRadialGradientElement::collectGradientAttributes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gyuyoung.kim at samsung.com
                CC: zimmermann at kde.org


In SVGRadialGradientElement::collectGradientAttributes(), though *current* element may not SVGRadialGradientElement, it always goes into if (isRadial) { ... } block on a first iteration because *isRadial* is initialized with true. This cl fix it by moving it to a proper place. Now, we don't need to keep *isRadial* flag. Remove 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