Summary: | Reproducible crash when removing a gradient | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | hyatt | ||||||
Priority: | P1 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Description
mitz
2008-05-03 20:48:58 PDT
Created attachment 20954 [details]
Test case (will crash)
Created attachment 20955 [details]
Make clients implicitly ref() the CSSImageGeneratorValue
The "autoDeref" trick may be the wrong trade-off between readability and leak safety for such a small function. I can replace it with a deref() at the end.
Comment on attachment 20955 [details]
Make clients implicitly ref() the CSSImageGeneratorValue
I think you should replace the "autoDeref" trick with a deref at the end to make the calls symmetrical. r=me, the change is up to you though.
Fixed in <http://trac.webkit.org/changeset/32854>. |