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

LibWeb: Remove dbgln() from ImageData::create_with_size()

This is not generally useful information, and can be noisy on websites
that heavily use ImageData, e.g. in combination with canvas.
This commit is contained in:
Linus Groh 2022-03-04 18:54:23 +01:00 committed by Andreas Kling
parent 1719862d12
commit 6521c04bf3

View file

@ -18,8 +18,6 @@ RefPtr<ImageData> ImageData::create_with_size(JS::GlobalObject& global_object, i
if (width > 16384 || height > 16384)
return nullptr;
dbgln("Creating ImageData with {}x{}", width, height);
auto data_or_error = JS::Uint8ClampedArray::create(global_object, width * height * 4);
if (data_or_error.is_error())
return nullptr;