[Webkit-unassigned] [Bug 43691] Add missing SVGPathSegList source for SVGPathParser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 10 01:11:32 PDT 2010


--- Comment #7 from Nikolas Zimmermann <zimmermann at kde.org>  2010-08-10 01:11:33 PST ---
(From update of attachment 63982)
Ok, I gave a bad suggestion. Storing m_segment as RefPtr is fine, but using static_pointer_cast is pointless, as we'd ref/and deref the object during RefPtr<> creation and destruction, in parse*Segment, which is unncessary and just creates usless refs/derefs.

Leave RefPtr<SVGPathSeg> m_segment this is fine, but use:
SVGPathSegSingleCoord* moveTo = static_cast<SVGPathSegSingleCoord*>(m_segment.get());

here. Sorry for the wrong suggestion.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list