mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 04:15:06 +00:00
WebContent: Put some debug spam behind an #ifdef
This commit is contained in:
parent
3005c0af69
commit
ada3c9ca46
3 changed files with 18 additions and 2 deletions
|
@ -84,9 +84,11 @@ void WebContentView::notify_server_did_paint(Badge<WebContentClient>, i32 shbuf_
|
|||
update();
|
||||
}
|
||||
|
||||
void WebContentView::notify_server_did_invalidate_content_rect(Badge<WebContentClient>, const Gfx::IntRect& content_rect)
|
||||
void WebContentView::notify_server_did_invalidate_content_rect(Badge<WebContentClient>, [[maybe_unused]] const Gfx::IntRect& content_rect)
|
||||
{
|
||||
#ifdef DEBUG_SPAM
|
||||
dbg() << "server did invalidate content_rect: " << content_rect << ", current shbuf_id=" << m_bitmap->shbuf_id();
|
||||
#endif
|
||||
request_repaint();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue