From 4f1df48bd9fe3bd0ac807e96dc29e4eb49aa1517 Mon Sep 17 00:00:00 2001 From: Tobias Christiansen Date: Sun, 27 Feb 2022 21:16:40 +0100 Subject: [PATCH] LibWeb: Make SVGSVGElement's view_box() const --- Userland/Libraries/LibWeb/SVG/SVGSVGElement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h index 7d878760e0099c..f69ec9f9c521db 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h @@ -25,7 +25,7 @@ class SVGSVGElement final : public SVGGraphicsElement { virtual bool requires_svg_container() const override { return false; } virtual bool is_svg_container() const override { return true; } - Optional const& view_box() { return m_view_box; } + Optional const& view_box() const { return m_view_box; } private: virtual void parse_attribute(FlyString const& name, String const& value) override;