[Webkit-unassigned] [Bug 272063] New: AX: createObjectFromRenderer and accessibleNameForNode can take their arguments by reference rather than pointer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 2 17:19:44 PDT 2024


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

            Bug ID: 272063
           Summary: AX: createObjectFromRenderer and accessibleNameForNode
                    can take their arguments by reference rather than
                    pointer
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tyler_w at apple.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Doing this saves null checks and makes intent more clear, as these functions or ones downstream from them either ASSERT non-null, or directly dereference the pointer without null checking.

-- 
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/20240403/cc4ec2f6/attachment.htm>


More information about the webkit-unassigned mailing list