Bug 5942 - SVGRenderStyle should be held as a DataRef and shared/lazily allocated
Summary: SVGRenderStyle should be held as a DataRef and shared/lazily allocated
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Eric Seidel (no email)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 02:17 PST by Eric Seidel (no email)
Modified: 2005-12-05 17:52 PST (History)
0 users

See Also:


Attachments
Makes SVGRenderStyle a DataRef pointer (thus shared, COW) (17.13 KB, patch)
2005-12-05 02:17 PST, Eric Seidel (no email)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2005-12-05 02:17:13 PST
SVGRenderStyle should be held as a DataRef and shared/lazily allocated

The attached patch does just that.
Comment 1 Eric Seidel (no email) 2005-12-05 02:17:59 PST
Created attachment 4957 [details]
Makes SVGRenderStyle a DataRef pointer (thus shared, COW)
Comment 2 Eric Seidel (no email) 2005-12-05 02:18:25 PST
Comment on attachment 4957 [details]
Makes SVGRenderStyle a DataRef pointer (thus shared, COW)

mjs, darin, dethbakin or hyatt could easily review this simple patch.
Comment 3 Darin Adler 2005-12-05 06:36:58 PST
Comment on attachment 4957 [details]
Makes SVGRenderStyle a DataRef pointer (thus shared, COW)

looks fine, r=me