WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
260401
Many methods in ComputedStyleExtractor can be const
https://bugs.webkit.org/show_bug.cgi?id=260401
Summary
Many methods in ComputedStyleExtractor can be const
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-08-18 11:19:55 PDT
<
rdar://problem/114099664
>
Sammy Gill
Comment 2
2023-08-18 11:26:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/16841
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.
Top of Page
Format For Printing
XML
Clone This Bug