mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
LibWeb: Add fast_is<HTMLBaseElement>()
This avoids slow RTTI lookups in Document::base_url().
This commit is contained in:
parent
7b4004d682
commit
9f32da1dbc
2 changed files with 8 additions and 0 deletions
|
@ -89,6 +89,7 @@ public:
|
|||
|
||||
virtual bool is_html_html_element() const { return false; }
|
||||
virtual bool is_html_anchor_element() const { return false; }
|
||||
virtual bool is_html_base_element() const { return false; }
|
||||
virtual bool is_html_template_element() const { return false; }
|
||||
virtual bool is_browsing_context_container() const { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue