mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibWeb: Add fast_is<ParentNode>()
This commit is contained in:
parent
32dd4bf1b9
commit
2be4064ca8
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
inline bool Node::fast_is<ParentNode>() const { return is_parent_node(); }
|
||||
|
||||
template<typename Callback>
|
||||
inline void ParentNode::for_each_child(Callback callback) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue