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:
parent
1719862d12
commit
6521c04bf3
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue