Summary: | REGRESSION: Mac implementation of Font::drawGlyphs leaks a CGColorRef | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Rowe (bdash) <mrowe> | ||||
Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | Keywords: | EasyFix, Regression | ||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Mark Rowe (bdash)
2006-09-13 06:27:56 PDT
Created attachment 10548 [details]
Patch
Comment on attachment 10548 [details]
Patch
My mistake, thanks for fixing.
You might add a:
// WebCore expects text to respect the pen color, CG expects text to use fill
comment to the other place as well, I had meant to do that originally.
Also, this makes me wonder if it wouldn't be a better idea to set the color on the context with 4 floats to prevent the malloc/free associated with creating a color and freeing... If it shows up in shark we'll have to move to that model.
r=me
|