mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09: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:
parent
84eecbb10e
commit
a71eaefdf6
Notes:
sideshowbarker
2024-07-18 08:59:31 +09:00
Author: https://github.com/awesomekling
Commit: a71eaefdf6
Pull-request: https://github.com/SerenityOS/serenity/pull/21991
11 changed files with 108 additions and 64 deletions
|
@ -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&)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue