1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

WebContent: Use Web::Platform::Timer instead of Core::Timer

This will allow WebContent to operate without a Core::EventLoop.
This commit is contained in:
Andreas Kling 2022-10-05 19:33:30 +02:00
parent e75645bbf8
commit f877782117
4 changed files with 6 additions and 4 deletions

View file

@ -81,7 +81,7 @@ private:
bool m_should_show_line_box_borders { false };
bool m_has_focus { false };
RefPtr<Core::Timer> m_invalidation_coalescing_timer;
RefPtr<Web::Platform::Timer> m_invalidation_coalescing_timer;
Gfx::IntRect m_invalidation_rect;
Web::CSS::PreferredColorScheme m_preferred_color_scheme { Web::CSS::PreferredColorScheme::Auto };
};