summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp')
-rw-r--r--Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp b/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp
index ae2579e3bc..729e78ec57 100644
--- a/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp
+++ b/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp
@@ -35,7 +35,7 @@
namespace Web::HTML {
CanvasRenderingContext2D::CanvasRenderingContext2D(HTMLCanvasElement& element)
- : m_element(element.make_weak_ptr())
+ : m_element(element)
{
}