mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibWeb: Remove debug spam about getting a 2D canvas context
This commit is contained in:
parent
9ee7142227
commit
05311782d7
2 changed files with 0 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue