mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 15:30:09 +00:00
LibWeb: Add fast_is<ParentNode>()
This commit is contained in:
parent
32dd4bf1b9
commit
2be4064ca8
Notes:
sideshowbarker
2024-07-17 17:21:50 +09:00
Author: https://github.com/awesomekling
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