LibWeb: Add fast_is<ParentNode>()

This commit is contained in:
Andreas Kling 2022-03-14 14:40:42 +01:00
parent 32dd4bf1b9
commit 2be4064ca8

View file

@ -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
{