mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +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
|
@ -74,10 +74,8 @@ RefPtr<LayoutNode> HTMLCanvasElement::create_layout_node(const StyleProperties*
|
|||
CanvasRenderingContext2D* HTMLCanvasElement::get_context(String type)
|
||||
{
|
||||
ASSERT(type.to_lowercase() == "2d");
|
||||
dbg() << "get_context with m_context=" << m_context.ptr();
|
||||
if (!m_context)
|
||||
m_context = CanvasRenderingContext2D::create(*this);
|
||||
dbg() << "get_context returning m_context=" << m_context.ptr();
|
||||
return m_context;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue