[Webkit-unassigned] [Bug 230467] New: Replace dynamic_objc_cast<> with dynamic_ns_cast<>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 19 13:30:29 PDT 2021


            Bug ID: 230467
           Summary: Replace dynamic_objc_cast<> with dynamic_ns_cast<>
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: darin at apple.com
        Depends on: 139893, 139915, 230227

Replace dynamic_objc_cast<> with dynamic_ns_cast<>.

dynamic_objc_cast<> was originally added for Bug 139893 in r177677, then moved to WTF for Bug 139915 in r177697.

dynamic_ns_cast<> was added for Bug 230227 in r282703 as part of <wtf/cocoa/TypeCastsNS.h>.

Since TypeCastsNS.h has an rvalue overload of dynamic_ns_cast<> and contains checked_ns_cast<> and has tests and is two characters less to type, let's replace dynamic_objc_cast<> with dynamic_ns_cast<>.

(Sorry Anders.)

Referenced Bugs:

[Bug 139893] Make it possible to transform Objective-C object graphs, replacing certain elements with others
[Bug 139915] Move dynamic_objc_cast to RetainPtr.h
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/20210919/06f75e10/attachment.htm>

More information about the webkit-unassigned mailing list