Bug 260401
| Summary: | Many methods in ComputedStyleExtractor can be const | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
| Component: | CSS | Assignee: | 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
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
<rdar://problem/114099664>
Sammy Gill
Pull request: https://github.com/WebKit/WebKit/pull/16841
EWS
Committed 267055@main (f5c4eacf1b68): <https://commits.webkit.org/267055@main>
Reviewed commits have been landed. Closing PR #16841 and removing active labels.