diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-18 10:27:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-18 11:00:55 +0200 |
commit | bc1ece7f37cf9d22af42b749a238ecc8eb07facf (patch) | |
tree | a9f33f0454f3d7cfa3611e9bd30f9ebcc6e425fe /Libraries/LibWeb/Bindings/CanvasRenderingContext2DWrapper.h | |
parent | f6d57c82f6dbbb5c7e18bffb43d0258956aa0d46 (diff) | |
download | serenity-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.h | 2 |
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; |