mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
TimerSerenity was the only implementation of the abstract Timer base class. It simply wrapped a Core::Timer and delegated every method. Remove the virtual dispatch by making Timer concrete and absorbing the TimerSerenity implementation directly. Timer::create() now allocates on the GC heap directly instead of going through EventLoopPlugin::create_timer().
2.0 KiB
2.0 KiB