Bug 61882 - [CG] GraphicsContext::fillRoundedRect() ignores the gradient fill the CGContextFillEllipseInRect() code path
Summary: [CG] GraphicsContext::fillRoundedRect() ignores the gradient fill the CGConte...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-06-01 13:39 PDT by Simon Fraser (smfr)
Modified: 2011-06-02 03:04 PDT (History)
2 users (show)

See Also:

proposed patch (1.87 KB, patch)
2011-06-01 14:00 PDT, Ian Henderson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.