mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 10:00:24 +00:00
LibWeb: Make SVGSVGElement's view_box() const
This commit is contained in:
parent
a8cfb34551
commit
4f1df48bd9
Notes:
sideshowbarker
2024-07-17 18:06:54 +09:00
Author: https://github.com/TobyAsE Commit: https://github.com/SerenityOS/serenity/commit/4f1df48bd9 Pull-request: https://github.com/SerenityOS/serenity/pull/12803 Issue: https://github.com/SerenityOS/serenity/issues/12243 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue