WebContent: Put some debug spam behind an #ifdef
This makes resizing the window a little less obnoxious. :^)
This commit is contained in:
parent
2c4a168404
commit
aac362b883
Notes:
sideshowbarker
2024-07-19 05:08:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/aac362b8839
1 changed files with 2 additions and 0 deletions
|
@ -112,7 +112,9 @@ void ClientConnection::handle(const Messages::WebContentServer::Paint& message)
|
|||
|
||||
auto shared_buffer = SharedBuffer::create_from_shbuf_id(message.shbuf_id());
|
||||
if (!shared_buffer) {
|
||||
#ifdef DEBUG_SPAM
|
||||
dbg() << "WebContentServer::Paint: SharedBuffer already gone! Ignoring :^)";
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
auto shared_bitmap = Gfx::Bitmap::create_with_shared_buffer(Gfx::BitmapFormat::RGB32, shared_buffer.release_nonnull(), message.content_rect().size());
|
||||
|
|
Loading…
Add table
Reference in a new issue