1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:44:58 +00:00

LibWeb+WebContent: Remove PageClient::page_did_invalidate()

...and schedule repainting directly from Navigable::set_needs_display()
bypassing PageClient.
This commit is contained in:
Aliaksandr Kalenik 2024-02-24 07:38:17 +01:00 committed by Andreas Kling
parent c3f5dbb101
commit d3f8d24abb
4 changed files with 3 additions and 9 deletions

View file

@ -224,11 +224,6 @@ void PageClient::set_viewport_rect(Web::DevicePixelRect const& rect)
page().top_level_traversable()->set_viewport_rect(page().device_to_css_rect(rect));
}
void PageClient::page_did_invalidate(Web::CSSPixelRect const&)
{
Web::HTML::main_thread_event_loop().schedule();
}
void PageClient::page_did_request_cursor_change(Gfx::StandardCursor cursor)
{
client().async_did_request_cursor_change(m_id, (u32)cursor);