mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb: Rename LayoutNode::render() to paint()
"Paint" matches what we call this in the rest of the system. Let's not confuse things by mixing paint/render/draw all the time. I'm guilty of this in more places.. Also rename RenderingContext => PaintContext.
This commit is contained in:
parent
dec0cd3755
commit
8c82d26668
Notes:
sideshowbarker
2024-07-19 05:34:05 +09:00
Author: https://github.com/awesomekling
Commit: 8c82d26668
26 changed files with 49 additions and 49 deletions
|
@ -59,9 +59,9 @@ void LayoutFrame::layout(LayoutMode layout_mode)
|
|||
LayoutReplaced::layout(layout_mode);
|
||||
}
|
||||
|
||||
void LayoutFrame::render(RenderingContext& context, PaintPhase phase)
|
||||
void LayoutFrame::paint(PaintContext& context, PaintPhase phase)
|
||||
{
|
||||
LayoutReplaced::render(context, phase);
|
||||
LayoutReplaced::paint(context, phase);
|
||||
|
||||
if (phase == PaintPhase::Foreground) {
|
||||
auto* hosted_document = node().hosted_document();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue