mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibWeb: Switch to using AK::is and AK::downcast
This commit is contained in:
@@ -59,3 +59,7 @@ inline void ParentNode::for_each_child(Callback callback)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
AK_BEGIN_TYPE_TRAITS(Web::ParentNode)
|
||||
static bool is_type(const Web::Node& node) { return node.is_parent_node(); }
|
||||
AK_END_TYPE_TRAITS()
|
||||
|
||||
Reference in New Issue
Block a user