[webkit-changes] [WebKit/WebKit] f1e948: Clean up RenderTableSection::paintObject()
Simon Fraser
noreply at github.com
Sun Feb 2 09:09:38 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f1e948ba5cf08879c8f79ff21318c8987c749323
https://github.com/WebKit/WebKit/commit/f1e948ba5cf08879c8f79ff21318c8987c749323
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2025-02-02 (Sun, 02 Feb 2025)
Changed paths:
M Source/WebCore/rendering/RenderTableSection.cpp
Log Message:
-----------
Clean up RenderTableSection::paintObject()
https://bugs.webkit.org/show_bug.cgi?id=286874
rdar://144030385
Reviewed by Alan Baradlay.
`RenderTableSection::paintObject()` had some deeply nested clauses, and unclear separation
between the three different painting strategies. Simplify with some early returns and lambdas.
No behavior change.
* Source/WebCore/rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::paintObject):
(WebCore::RenderTableSection::imageChanged):
Canonical link: https://commits.webkit.org/289701@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