From 6521c04bf393baebde84bf4e44e533630619edc8 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 4 Mar 2022 18:54:23 +0100 Subject: [PATCH] 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. --- Userland/Libraries/LibWeb/HTML/ImageData.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/ImageData.cpp b/Userland/Libraries/LibWeb/HTML/ImageData.cpp index c76ec71a102468..bb8a007a2279a8 100644 --- a/Userland/Libraries/LibWeb/HTML/ImageData.cpp +++ b/Userland/Libraries/LibWeb/HTML/ImageData.cpp @@ -18,8 +18,6 @@ RefPtr 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;