Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2d5429a008fa6ae99cfa9a45015116489fe06a8f
https://github.com/WebKit/WebKit/commit/2d5429a008fa6ae99cfa9a45015116489fe06a8f
Author: Simon Fraser <[email protected]>
Date: 2024-08-15 (Thu, 15 Aug 2024)
Changed paths:
M Source/WebCore/rendering/BackgroundPainter.cpp
M Source/WebCore/rendering/BackgroundPainter.h
Log Message:
-----------
BackgroundPainter code cleanup
https://bugs.webkit.org/show_bug.cgi?id=278209
rdar://134007965
Reviewed by Matt Woodrow and Tim Nguyen.
Make BackgroundPainter member functions `const`.
Rename the `box` argument to `inlineBoxIterator` to reduce confusion.
* Source/WebCore/rendering/BackgroundPainter.cpp:
(WebCore::BackgroundPainter::paintBackground const):
(WebCore::BackgroundPainter::paintRootBoxFillLayers const):
(WebCore::BackgroundPainter::paintFillLayers const):
(WebCore::BackgroundPainter::paintFillLayer const):
(WebCore::BackgroundPainter::backgroundRoundedRectAdjustedForBleedAvoidance
const):
(WebCore::BackgroundPainter::backgroundRoundedRect const):
(WebCore::BackgroundPainter::paintBoxShadow const):
(WebCore::BackgroundPainter::paintBackground): Deleted.
(WebCore::BackgroundPainter::paintRootBoxFillLayers): Deleted.
(WebCore::BackgroundPainter::paintFillLayers): Deleted.
(WebCore::BackgroundPainter::paintFillLayer): Deleted.
(WebCore::BackgroundPainter::paintBoxShadow): Deleted.
* Source/WebCore/rendering/BackgroundPainter.h:
(WebCore::BackgroundPainter::paintFillLayer):
Canonical link: https://commits.webkit.org/282331@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