1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

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

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;