LibWeb: Add fast_is<ParentNode>()

This commit is contained in:
Andreas Kling 2022-03-14 14:40:42 +01:00
commit 2be4064ca8
Notes: sideshowbarker 2024-07-17 17:21:50 +09:00

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
{