[Webkit-unassigned] [Bug 254757] SVGPathSegValue<PathSegType>::clone hides SVGPathSeg::clone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 30 11:46:34 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=254757

--- Comment #1 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Michael Catanzaro from comment #0)
> I think this means a clone operation on a
> SVGPathSeg pointer will work correctly if the SVGPathSeg is a
> SVGPathSegValue.

I meant: will not work correctly. The SVGPathSegValue<PathSegType>::clone would only get called via a pointer to an SVGPathSegValue<PathSegType>. With a pointer to an SVGPathSeg, I think the program should abort with a runtime error due to unimplemented virtual function?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230330/c45feadc/attachment.htm>


More information about the webkit-unassigned mailing list