diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/SVGBox.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/SVGBox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/SVGBox.h b/Userland/Libraries/LibWeb/Layout/SVGBox.h index 1ba13689a5..e3aa207df6 100644 --- a/Userland/Libraries/LibWeb/Layout/SVGBox.h +++ b/Userland/Libraries/LibWeb/Layout/SVGBox.h @@ -21,6 +21,12 @@ public: virtual void before_children_paint(PaintContext& context, PaintPhase phase) override; virtual void after_children_paint(PaintContext& context, PaintPhase phase) override; + +private: + virtual bool is_svg_box() const final { return true; } }; +template<> +inline bool Node::fast_is<SVGBox>() const { return is_svg_box(); } + } |