mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Add fast_is<T>() for SVGUseElement
is<SVGUseElement> quite hot in profiles
This commit is contained in:
parent
80a228383b
commit
04a5196a5d
Notes:
sideshowbarker
2024-07-17 04:34:25 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 04a5196a5d
Pull-request: https://github.com/SerenityOS/serenity/pull/19569
2 changed files with 10 additions and 0 deletions
|
@ -75,6 +75,7 @@ public:
|
|||
virtual bool is_svg_container() const { return false; }
|
||||
virtual bool is_svg_element() const { return false; }
|
||||
virtual bool is_svg_svg_element() const { return false; }
|
||||
virtual bool is_svg_use_element() const { return false; }
|
||||
|
||||
bool in_a_document_tree() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue