diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp b/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp index 2d202fc9cf..775028fb8f 100644 --- a/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/SVGPaintable.cpp @@ -41,7 +41,7 @@ CSSPixelRect SVGPaintable::compute_absolute_rect() const if (auto* svg_svg_box = layout_box().first_ancestor_of_type<Layout::SVGSVGBox>()) { CSSPixelRect rect { effective_offset(), content_size() }; for (Layout::Box const* ancestor = svg_svg_box; ancestor && ancestor->paintable(); ancestor = ancestor->paintable()->containing_block()) - rect.translate_by(ancestor->paint_box()->effective_offset()); + rect.translate_by(ancestor->paintable_box()->effective_offset()); return rect; } return PaintableBox::compute_absolute_rect(); |