Bug 234703 - Element::boundingAbsoluteRectWithoutLayout() should be marked `const`
Summary: Element::boundingAbsoluteRectWithoutLayout() should be marked `const`
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-27 13:00 PST by Wenson Hsieh
Modified: 2021-12-27 16:31 PST (History)
10 users (show)

See Also:


Attachments
Patch (3.26 KB, patch)
2021-12-27 13:03 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2021-12-27 13:00:56 PST
This method doesn't trigger layout or mutate the element in any way, so it should be `const`.
Comment 1 Wenson Hsieh 2021-12-27 13:03:10 PST
Created attachment 448005 [details]
Patch
Comment 2 Wenson Hsieh 2021-12-27 16:06:53 PST
Comment on attachment 448005 [details]
Patch

Thanks for the review!
Comment 3 EWS 2021-12-27 16:30:14 PST
Committed r287461 (245596@main): <https://commits.webkit.org/245596@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 448005 [details].
Comment 4 Radar WebKit Bug Importer 2021-12-27 16:31:19 PST
<rdar://problem/86945721>