mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibWeb: Add some fast_is<T> helpers for hot classes on GitHub :^)
This commit is contained in:
parent
74fda2a761
commit
afc5fade05
5 changed files with 16 additions and 0 deletions
|
@ -74,6 +74,8 @@ public:
|
|||
virtual bool is_svg_box() const { return false; }
|
||||
virtual bool is_svg_geometry_box() const { return false; }
|
||||
virtual bool is_label() const { return false; }
|
||||
virtual bool is_replaced_box() const { return false; }
|
||||
virtual bool is_list_item_marker_box() const { return false; }
|
||||
|
||||
template<typename T>
|
||||
bool fast_is() const = delete;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue