Skip to content

Commit

Permalink
LibWeb: Make SVGSVGElement's view_box() const
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyAsE authored and awesomekling committed Feb 28, 2022
1 parent a8cfb34 commit 4f1df48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Libraries/LibWeb/SVG/SVGSVGElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<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;
Expand Down

0 comments on commit 4f1df48

Please sign in to comment.