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

Description Simon Fraser (smfr) 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.
Comment 1 Ian Henderson 2011-06-01 14:00:58 PDT
Created attachment 95657 [details]
proposed patch
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2011-06-02 03:04:50 PDT
All reviewed patches have been landed.  Closing bug.