1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +00:00

LibWeb: Remove debug spam about getting a 2D canvas context

This commit is contained in:
Andreas Kling 2020-03-25 09:54:46 +01:00
parent 9ee7142227
commit 05311782d7
2 changed files with 0 additions and 4 deletions

View file

@ -41,9 +41,7 @@ HTMLCanvasElementWrapper::HTMLCanvasElementWrapper(HTMLCanvasElement& element)
{
put_native_function("getContext", [this](JS::Object*, const Vector<JS::Value>& arguments) -> JS::Value {
if (arguments.size() >= 1) {
dbg() << "Calling getContext on " << node().tag_name();
auto* context = node().get_context(arguments[0].to_string());
dbg() << "getContext got 2D context=" << context;
return wrap(heap(), *context);
}
return JS::js_undefined();