summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-18 10:27:57 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-18 11:00:55 +0200
commitbc1ece7f37cf9d22af42b749a238ecc8eb07facf (patch)
treea9f33f0454f3d7cfa3611e9bd30f9ebcc6e425fe /Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h
parentf6d57c82f6dbbb5c7e18bffb43d0258956aa0d46 (diff)
downloadserenity-bc1ece7f37cf9d22af42b749a238ecc8eb07facf.zip
LibJS+LibWeb: Pass prototype to Object constructor
Everyone who constructs an Object must now pass a prototype object when applicable. There's still a fair amount of code that passes something fetched from the Interpreter, but this brings us closer to being able to detach prototypes from Interpreter eventually.
Diffstat (limited to 'Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h')
-rw-r--r--Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h b/Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h
index 5822dc77fb..ba5205714b 100644
--- a/Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h
+++ b/Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h
@@ -31,7 +31,7 @@
namespace Web {
namespace Bindings {
-class CanvasRenderingContext2DWrapper : public Wrapper {
+class CanvasRenderingContext2DWrapper final : public Wrapper {
public:
explicit CanvasRenderingContext2DWrapper(CanvasRenderingContext2D&);
virtual ~CanvasRenderingContext2DWrapper() override;