Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 407750d7e87e03761427c197acc8f55e01a42798
https://github.com/WebKit/WebKit/commit/407750d7e87e03761427c197acc8f55e01a42798
Author: Ahmad Saleem <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes