[webkit-changes] [WebKit/WebKit] 407750: Refactor `getBPMWidth` as lambda and other updates
Commit Queue
noreply at github.com
Tue Jul 16 17:05:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 407750d7e87e03761427c197acc8f55e01a42798
https://github.com/WebKit/WebKit/commit/407750d7e87e03761427c197acc8f55e01a42798
Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
Date: 2024-07-16 (Tue, 16 Jul 2024)
Changed paths:
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
Refactor `getBPMWidth` as lambda and other updates
https://bugs.webkit.org/show_bug.cgi?id=276521
Reviewed by Alan Baradlay.
This patch is plain refactoring to update `getBPMWidth`
as lambda near to use in `getBorderPaddingMargin` function.
It is also renamed to `borderPaddingAndMarginWidth`.
Additionally, it updates to use 'isAuto' directly rather than
'!= LengthType::Auto'. and makes 'cssUnit' as 'const Length&'.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::getBPMWidth): Removed
(getBorderPaddingMargin):
Canonical link: https://commits.webkit.org/281026@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list