[webkit-changes] [WebKit/WebKit] 6b0b9d: Clean-up in `computePositionedLogicalWidthUsing` t...
Ahmad Saleem
noreply at github.com
Mon Sep 2 17:57:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6b0b9db9aa935654984d4e7c5b1e9128a8b90d0c
https://github.com/WebKit/WebKit/commit/6b0b9db9aa935654984d4e7c5b1e9128a8b90d0c
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2024-09-02 (Mon, 02 Sep 2024)
Changed paths:
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
Clean-up in `computePositionedLogicalWidthUsing` to use shrink-to-fit in one step
https://bugs.webkit.org/show_bug.cgi?id=279033
rdar://135156089
Reviewed by Alan Baradlay.
This patch introduces `lambda` named `shrinkToFitLogicalWidth` to remove
duplicate logic to do `shrink-to-fit` in one go as clean-up.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidthUsing const):
Canonical link: https://commits.webkit.org/283073@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