LibWeb: Remove unnecessary this capture in RequestAnimationFrameDriver

This commit is contained in:
Andreas Kling 2021-10-03 18:12:13 +02:00
parent c4be098b7d
commit 9f886d499a
Notes: sideshowbarker 2024-07-18 03:08:13 +09:00

View file

@ -46,7 +46,7 @@ private:
struct RequestAnimationFrameDriver {
RequestAnimationFrameDriver()
{
m_timer = Core::Timer::create_single_shot(16, [this] {
m_timer = Core::Timer::create_single_shot(16, [] {
HTML::main_thread_event_loop().schedule();
});
}