1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:37: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 {
RequestAnimationFrameDriver()
{
m_timer = Core::Timer::create_single_shot(16, [this] {
m_timer = Core::Timer::create_single_shot(16, [] {
HTML::main_thread_event_loop().schedule();
});
}