Bug 260401

Summary: Many methods in ComputedStyleExtractor can be const
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: CSSAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 260397    

Description Sammy Gill 2023-08-18 11:17:59 PDT
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
Comment 1 Radar WebKit Bug Importer 2023-08-18 11:19:55 PDT
<rdar://problem/114099664>
Comment 2 Sammy Gill 2023-08-18 11:26:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16841
Comment 3 EWS 2023-08-18 13:43:18 PDT
Committed 267055@main (f5c4eacf1b68): <https://commits.webkit.org/267055@main>

Reviewed commits have been landed. Closing PR #16841 and removing active labels.