LibWeb: Make SVGSVGElement's view_box() const

This commit is contained in:
Tobias Christiansen 2022-02-27 21:16:40 +01:00 committed by Andreas Kling
parent a8cfb34551
commit 4f1df48bd9
Notes: sideshowbarker 2024-07-17 18:06:54 +09:00

View file

@ -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;