diff options
author | Tobias Christiansen <tobyase@serenityos.org> | 2022-02-27 21:16:40 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-28 16:49:24 +0100 |
commit | 4f1df48bd9fe3bd0ac807e96dc29e4eb49aa1517 (patch) | |
tree | c69578c8315ff1366133b9f954c5abe8492c7eaa /Userland/Libraries/LibWeb/SVG | |
parent | a8cfb3455181b14ad514984c961c5325f3ed892f (diff) | |
download | serenity-4f1df48bd9fe3bd0ac807e96dc29e4eb49aa1517.zip |
LibWeb: Make SVGSVGElement's view_box() const
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG')
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGSVGElement.h | 2 |
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; |