Summary: | Update GraphicsContext to support winding rule in clip operator for Chromium | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rik Cabanier <cabanier> | ||||||
Component: | WebCore Misc. | Assignee: | Rik Cabanier <cabanier> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | junov, pdr, senorblanco, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 106871 | ||||||||
Bug Blocks: | 106188 | ||||||||
Attachments: |
|
Description
Rik Cabanier
2013-01-14 22:10:44 PST
Created attachment 183256 [details]
Patch
Comment on attachment 183256 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=183256&action=review > Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp:361 > + storage.setFillType(ftype); I think you mean to set the fill type back to savedFillRule here? We shouldn't even need to do that since storage is a temp copy, or am I missing something? Created attachment 183262 [details]
Patch
(In reply to comment #2) > (From update of attachment 183256 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=183256&action=review > > > Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp:361 > > + storage.setFillType(ftype); > > I think you mean to set the fill type back to savedFillRule here? We shouldn't even need to do that since storage is a temp copy, or am I missing something? you're correct. I thought it was somehow set in the platform path. Fixed in latest patch (+ removed obsolete comment) Comment on attachment 183262 [details]
Patch
This patch is straightforward and looks good to me.
Comment on attachment 183262 [details]
Patch
Reviewed together with pdr. Looked good for us. r=me
Comment on attachment 183262 [details] Patch Clearing flags on attachment: 183262 Committed r140098: <http://trac.webkit.org/changeset/140098> All reviewed patches have been landed. Closing bug. |