mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
Ladybird+LibWebView: Move most of paint handling to LibWebView
Storing the backup bitmap is the same across Browser and Ladybird. Just peform that work in LibWebView, and handle only the implementation- specific nuances within the browsers.
This commit is contained in:
@@ -25,7 +25,7 @@ void WebContentClient::die()
|
||||
|
||||
void WebContentClient::did_paint(Gfx::IntRect const& rect, i32 bitmap_id)
|
||||
{
|
||||
m_view.notify_server_did_paint({}, bitmap_id, rect.size());
|
||||
m_view.server_did_paint({}, bitmap_id, rect.size());
|
||||
}
|
||||
|
||||
void WebContentClient::did_start_loading(AK::URL const& url, bool is_redirect)
|
||||
|
||||
Reference in New Issue
Block a user