[Webkit-unassigned] [Bug 260401] New: Many methods in ComputedStyleExtractor can be const

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 18 11:17:59 PDT 2023


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

            Bug ID: 260401
           Summary: Many methods in ComputedStyleExtractor can be const
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sgill26 at apple.com

Many methods here compute a value and return it without modifying any sort of state in the class. In these cases we can make them const so that they can be used whenever other code uses a const ComputedStyleExtractor

-- 
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/20230818/e94fe98a/attachment.htm>


More information about the webkit-unassigned mailing list