diff options
Diffstat (limited to 'Libraries/LibWeb/Layout/StackingContext.cpp')
-rw-r--r-- | Libraries/LibWeb/Layout/StackingContext.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Libraries/LibWeb/Layout/StackingContext.cpp b/Libraries/LibWeb/Layout/StackingContext.cpp index 13a16ed9e9..6ea1cd1381 100644 --- a/Libraries/LibWeb/Layout/StackingContext.cpp +++ b/Libraries/LibWeb/Layout/StackingContext.cpp @@ -47,17 +47,17 @@ StackingContext::StackingContext(LayoutBox& box, StackingContext* parent) } } -void StackingContext::render(RenderingContext& context, LayoutNode::PaintPhase phase) +void StackingContext::paint(PaintContext& context, LayoutNode::PaintPhase phase) { if (!m_box.is_root()) { - m_box.render(context, phase); + m_box.paint(context, phase); } else { - // NOTE: LayoutDocument::render() merely calls StackingContext::render() + // NOTE: LayoutDocument::paint() merely calls StackingContext::paint() // so we call its base class instead. - to<LayoutDocument>(m_box).LayoutBlock::render(context, phase); + to<LayoutDocument>(m_box).LayoutBlock::paint(context, phase); } for (auto* child : m_children) { - child->render(context, phase); + child->paint(context, phase); } } |