mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibWeb: Put debug spam about failed favicon decodes behind a flag
This commit is contained in:
parent
8a829be25c
commit
b7f80e7081
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ static bool decode_favicon(ReadonlyBytes favicon_data, URL const& favicon_url, J
|
|||
{
|
||||
auto decoded_image = Platform::ImageCodecPlugin::the().decode_image(favicon_data);
|
||||
if (!decoded_image.has_value() || decoded_image->frames.is_empty()) {
|
||||
dbgln("Could not decode favicon {}", favicon_url);
|
||||
dbgln_if(IMAGE_DECODER_DEBUG, "Could not decode favicon {}", favicon_url);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue