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    

Sammy Gill
Reported 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
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-18 11:19:55 PDT
Sammy Gill
Comment 2 2023-08-18 11:26:08 PDT
EWS
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.