mirror of
https://github.com/zebrajr/ladybird.git
synced 2026-01-15 12:15:15 +00:00
LibWeb: Use the WEB_SET_PROTOTYPE_FOR_INTERFACE pattern consistently
This commit is contained in:
committed by
Andreas Kling
parent
0949d4d193
commit
692368696f
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user