[Webkit-unassigned] [Bug 143787] New: Clean up: Have SVGTextLayoutEngine::beginTextPathLayout() take a reference to a RenderSVGTextPath instead of a pointer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 11:04:34 PDT 2015


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

            Bug ID: 143787
           Summary: Clean up: Have
                    SVGTextLayoutEngine::beginTextPathLayout() take a
                    reference to a RenderSVGTextPath instead of a pointer
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: zimmermann at kde.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150415/1409bdda/attachment.html>


More information about the webkit-unassigned mailing list