diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp b/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp index e1dae92297..84910de306 100644 --- a/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp @@ -20,17 +20,17 @@ Layout::SVGBox const& SVGPaintable::layout_box() const return static_cast<Layout::SVGBox const&>(layout_node()); } -void SVGPaintable::before_children_paint(PaintContext& context, PaintPhase phase) const +void SVGPaintable::before_children_paint(PaintContext& context, PaintPhase phase, ShouldClipOverflow should_clip_overflow) const { - PaintableBox::before_children_paint(context, phase); + PaintableBox::before_children_paint(context, phase, should_clip_overflow); if (phase != PaintPhase::Foreground) return; context.svg_context().save(); } -void SVGPaintable::after_children_paint(PaintContext& context, PaintPhase phase) const +void SVGPaintable::after_children_paint(PaintContext& context, PaintPhase phase, ShouldClipOverflow should_clip_overflow) const { - PaintableBox::after_children_paint(context, phase); + PaintableBox::after_children_paint(context, phase, should_clip_overflow); if (phase != PaintPhase::Foreground) return; context.svg_context().restore(); |