[Webkit-unassigned] [Bug 116765] New: Path: clean up addPathForRoundedRect()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 25 12:31:12 PDT 2013


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

           Summary: Path: clean up addPathForRoundedRect()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: agarcia at igalia.com
                CC: xan.lopez at gmail.com


The current implementation of Path::addPathForRoundedRect() is a bit confusing and redundant

if (preferBezier) {
   bezier();
   return;
}

#if CG || BLACKBERRY
   native();
#else
   bezier();
#fi

I would suggest something like

#if CG || BLACKBERRY
if (preferNative) {
   native();
   return;
}
#endif

bezier();

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