summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings/HTMLCanvasElementWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Bindings/HTMLCanvasElementWrapper.cpp')
-rw-r--r--Libraries/LibWeb/Bindings/HTMLCanvasElementWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Bindings/HTMLCanvasElementWrapper.cpp b/Libraries/LibWeb/Bindings/HTMLCanvasElementWrapper.cpp
index fdf30bd244..1e7e904b62 100644
--- a/Libraries/LibWeb/Bindings/HTMLCanvasElementWrapper.cpp
+++ b/Libraries/LibWeb/Bindings/HTMLCanvasElementWrapper.cpp
@@ -57,12 +57,12 @@ HTMLCanvasElementWrapper::~HTMLCanvasElementWrapper()
HTMLCanvasElement& HTMLCanvasElementWrapper::node()
{
- return static_cast<HTMLCanvasElement&>(NodeWrapper::node());
+ return static_cast<HTMLCanvasElement&>(NodeWrapper::impl());
}
const HTMLCanvasElement& HTMLCanvasElementWrapper::node() const
{
- return static_cast<const HTMLCanvasElement&>(NodeWrapper::node());
+ return static_cast<const HTMLCanvasElement&>(NodeWrapper::impl());
}
static HTMLCanvasElement* impl_from(JS::Interpreter& interpreter, JS::GlobalObject& global_object)