RESOLVED FIXED 143787
Clean up: Have SVGTextLayoutEngine::beginTextPathLayout() take a reference to a RenderSVGTextPath instead of a pointer
https://bugs.webkit.org/show_bug.cgi?id=143787
Summary Clean up: Have SVGTextLayoutEngine::beginTextPathLayout() take a reference to...
Daniel Bates
Reported 2015-04-15 11:04:34 PDT
Currently SVGTextLayoutEngine::beginTextPathLayout() takes a pointer to a RenderObject and run-time asserts that its non-null and assumes that it can be safely downcast to a reference to RenderSVGTextPath object. Instead we should have SVGTextLayoutEngine::beginTextPathLayout() take a reference to a RenderSVGTextPath to better catch at compile time and document the preconditions of this function.
Attachments
Patch (4.69 KB, patch)
2015-04-15 11:14 PDT, Daniel Bates
no flags
Daniel Bates
Comment 1 2015-04-15 11:14:31 PDT
Andreas Kling
Comment 2 2015-04-15 15:16:24 PDT
Comment on attachment 250826 [details] Patch r=me
Daniel Bates
Comment 3 2015-04-15 15:36:42 PDT
Comment on attachment 250826 [details] Patch Clearing flags on attachment: 250826 Committed r182864: <http://trac.webkit.org/changeset/182864>
Daniel Bates
Comment 4 2015-04-15 15:36:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.