LibWeb: Use the WEB_SET_PROTOTYPE_FOR_INTERFACE pattern consistently

This commit is contained in:
Andreas Kling
2025-12-27 15:37:59 +01:00
committed by Andreas Kling
parent 0949d4d193
commit 692368696f
2 changed files with 2 additions and 2 deletions

View File

@@ -56,8 +56,8 @@ ViewTransition::ViewTransition(JS::Realm& realm, GC::Ref<WebIDL::Promise> ready_
void ViewTransition::initialize(JS::Realm& realm)
{
Base::initialize(realm);
WEB_SET_PROTOTYPE_FOR_INTERFACE(ViewTransition);
Base::initialize(realm);
}
void ViewTransition::visit_edges(Cell::Visitor& visitor)

View File

@@ -51,7 +51,7 @@ WebIDL::ExceptionOr<GC::Ref<ChannelSplitterNode>> ChannelSplitterNode::construct
void ChannelSplitterNode::initialize(JS::Realm& realm)
{
WEB_SET_PROTOTYPE_FOR_INTERFACE(ChannelSplitterNode);
AudioNode::initialize(realm);
Base::initialize(realm);
}
WebIDL::ExceptionOr<void> ChannelSplitterNode::set_channel_count(WebIDL::UnsignedLong channel_count)