Summary: | Fix OwnPtr strict errors in some SVG classes. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Klein <adamk> | ||||||||
Component: | New Bugs | Assignee: | Adam Klein <adamk> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | abarth, jamesr, levin | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Other | ||||||||||
OS: | OS X 10.5 | ||||||||||
Attachments: |
|
Description
Adam Klein
2011-04-25 16:36:47 PDT
Created attachment 91013 [details]
Patch
Comment on attachment 91013 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91013&action=review so close! > Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp:166 > + , shadow(other.shadow ? adoptPtr(new ShadowData(*other.shadow)) : PassOwnPtr<ShadowData>(0)) PassOwnPtr<ShadowData>(), no '0' > Source/WebCore/svg/SVGStyledTransformableElement.cpp:68 > + m_supplementalTransform = adoptPtr(new AffineTransform()); nit: don't need the ()s on this c'tor > Source/WebCore/svg/SVGTextElement.cpp:100 > + m_supplementalTransform = adoptPtr(new AffineTransform()); nit: don't need the ()s on this c'tor Created attachment 91016 [details]
Patch
Comment on attachment 91016 [details]
Patch
Yay!
Committed r84844: <http://trac.webkit.org/changeset/84844> Reverted r84844 for reason: Checked Committed r84847: <http://trac.webkit.org/changeset/84847> Created attachment 91026 [details]
Patch
Comment on attachment 91026 [details]
Patch
Still looks good
Committed r84851: <http://trac.webkit.org/changeset/84851> |