1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 02:17:34 +00:00

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

View file

@ -46,7 +46,7 @@ private:
struct RequestAnimationFrameDriver { struct RequestAnimationFrameDriver {
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(); HTML::main_thread_event_loop().schedule();
}); });
} }