Bug 61882

Summary: [CG] GraphicsContext::fillRoundedRect() ignores the gradient fill the CGContextFillEllipseInRect() code path
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ian
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch none

Simon Fraser (smfr)
Reported 2011-06-01 13:39:25 PDT
The CGContextFillEllipseInRect() fast path in GraphicsContext::fillRoundedRect() doesn't go through GraphicsContext::fillPath(), so ignores the gradient fill style. I don't think this code path can be hit via canvas or CG, but we should fix it anyway. Regressed in bug 58098.
Attachments
proposed patch (1.87 KB, patch)
2011-06-01 14:00 PDT, Ian Henderson
no flags
Ian Henderson
Comment 1 2011-06-01 14:00:58 PDT
Created attachment 95657 [details] proposed patch
WebKit Commit Bot
Comment 2 2011-06-02 03:04:46 PDT
Comment on attachment 95657 [details] proposed patch Clearing flags on attachment: 95657 Committed r87887: <http://trac.webkit.org/changeset/87887>
WebKit Commit Bot
Comment 3 2011-06-02 03:04:50 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.