diff --git a/Userland/Services/WebContent/ConnectionFromClient.cpp b/Userland/Services/WebContent/ConnectionFromClient.cpp index 2f4107b62c..df2696abc9 100644 --- a/Userland/Services/WebContent/ConnectionFromClient.cpp +++ b/Userland/Services/WebContent/ConnectionFromClient.cpp @@ -40,7 +40,7 @@ ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr(*this, move(socket), 1) , m_page_host(PageHost::create(*this)) { - m_paint_flush_timer = Core::Timer::create_single_shot(0, [this] { flush_pending_paint_requests(); }); + m_paint_flush_timer = Web::Platform::Timer::create_single_shot(0, [this] { flush_pending_paint_requests(); }); } void ConnectionFromClient::die() diff --git a/Userland/Services/WebContent/ConnectionFromClient.h b/Userland/Services/WebContent/ConnectionFromClient.h index f70ec5d254..63e40feb6c 100644 --- a/Userland/Services/WebContent/ConnectionFromClient.h +++ b/Userland/Services/WebContent/ConnectionFromClient.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -91,7 +92,7 @@ private: i32 bitmap_id { -1 }; }; Vector m_pending_paint_requests; - RefPtr m_paint_flush_timer; + RefPtr m_paint_flush_timer; HashMap> m_backing_stores; diff --git a/Userland/Services/WebContent/PageHost.cpp b/Userland/Services/WebContent/PageHost.cpp index dc1ee8c04e..910fb4197e 100644 --- a/Userland/Services/WebContent/PageHost.cpp +++ b/Userland/Services/WebContent/PageHost.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace WebContent { @@ -22,7 +23,7 @@ PageHost::PageHost(ConnectionFromClient& client) , m_page(make(*this)) { setup_palette(); - m_invalidation_coalescing_timer = Core::Timer::create_single_shot(0, [this] { + m_invalidation_coalescing_timer = Web::Platform::Timer::create_single_shot(0, [this] { m_client.async_did_invalidate_content_rect(m_invalidation_rect); m_invalidation_rect = {}; }); diff --git a/Userland/Services/WebContent/PageHost.h b/Userland/Services/WebContent/PageHost.h index 6ce85c4b0b..83b2bb3864 100644 --- a/Userland/Services/WebContent/PageHost.h +++ b/Userland/Services/WebContent/PageHost.h @@ -81,7 +81,7 @@ private: bool m_should_show_line_box_borders { false }; bool m_has_focus { false }; - RefPtr m_invalidation_coalescing_timer; + RefPtr m_invalidation_coalescing_timer; Gfx::IntRect m_invalidation_rect; Web::CSS::PreferredColorScheme m_preferred_color_scheme { Web::CSS::PreferredColorScheme::Auto }; };