[webkit-changes] [WebKit/WebKit] 137ee9: Move computeBorderStyle lambda in RenderStyle::col...
Tim Nguyen
noreply at github.com
Tue Sep 20 18:06:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 137ee9c4498d24c37da05e8d86ee4092673c0f51
https://github.com/WebKit/WebKit/commit/137ee9c4498d24c37da05e8d86ee4092673c0f51
Author: Tim Nguyen <ntim at apple.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M Source/WebCore/rendering/style/RenderStyle.cpp
Log Message:
-----------
Move computeBorderStyle lambda in RenderStyle::colorResolvingCurrentColor
https://bugs.webkit.org/show_bug.cgi?id=245455
<rdar://100199385>
Reviewed by Darin Adler.
Combine it with the `borderStyle` variable, since it's only used once and move it closer to the code using it.
This is a small clean up in preparation of changing Color to StyleColor.
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::colorResolvingCurrentColor const):
Canonical link: https://commits.webkit.org/254703@main
More information about the webkit-changes
mailing list