Skip to content

Commit

Permalink
LibWeb: Remove dbgln() from ImageData::create_with_size()
Browse files Browse the repository at this point in the history
This is not generally useful information, and can be noisy on websites
that heavily use ImageData, e.g. in combination with canvas.
  • Loading branch information
linusg authored and awesomekling committed Mar 4, 2022
1 parent 1719862 commit 6521c04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Userland/Libraries/LibWeb/HTML/ImageData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6521c04

Please sign in to comment.