mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibWeb: Make EventTarget::activation_behavior a virtual function
(Instead of using an AK::Function on EventTarget). This shaves 48 bytes off of every EventTarget instance.
This commit is contained in:
@@ -816,4 +816,13 @@ bool EventTarget::has_event_listeners() const
|
||||
return !m_event_listener_list.is_empty();
|
||||
}
|
||||
|
||||
bool EventTarget::has_activation_behavior() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void EventTarget::activation_behavior(Event const&)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user