mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibWeb: Add fast_is<ParentNode>()
This commit is contained in:
parent
32dd4bf1b9
commit
2be4064ca8
|
@ -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…
Reference in a new issue