Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9ab862354f2a6c2eac2b73b3de555c40660d30f0
https://github.com/WebKit/WebKit/commit/9ab862354f2a6c2eac2b73b3de555c40660d30f0
Author: Simon Fraser <[email protected]>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M Source/WebCore/rendering/RenderBoxInlines.h
Log Message:
-----------
Optimize RenderBox::contentBoxRect()
https://bugs.webkit.org/show_bug.cgi?id=272372
rdar://126114704
Reviewed by Alan Baradlay.
`contentBoxRect()` called `contentBoxLocation()` and `contentSize()` and both
fan out into
calls involving scrollbar gutter and scrollbar width which are repetitive. So
replace with
a single function that fetches all the input values without redundancy.
* Source/WebCore/rendering/RenderBoxInlines.h:
(WebCore::RenderBox::computedCSSContentBoxRect const):
(WebCore::RenderBox::contentBoxRect const):
Canonical link: https://commits.webkit.org/277251@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes