summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorTobias Christiansen <tobyase@serenityos.org>2022-02-27 21:16:40 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-28 16:49:24 +0100
commit4f1df48bd9fe3bd0ac807e96dc29e4eb49aa1517 (patch)
treec69578c8315ff1366133b9f954c5abe8492c7eaa /Userland/Libraries/LibWeb
parenta8cfb3455181b14ad514984c961c5325f3ed892f (diff)
downloadserenity-4f1df48bd9fe3bd0ac807e96dc29e4eb49aa1517.zip
LibWeb: Make SVGSVGElement's view_box() const
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/SVG/SVGSVGElement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h
index 7d878760e0..f69ec9f9c5 100644
--- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h
+++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h
@@ -25,7 +25,7 @@ public:
virtual bool requires_svg_container() const override { return false; }
virtual bool is_svg_container() const override { return true; }
- Optional<ViewBox> const& view_box() { return m_view_box; }
+ Optional<ViewBox> const& view_box() const { return m_view_box; }
private:
virtual void parse_attribute(FlyString const& name, String const& value) override;