diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-02 15:53:02 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-06 00:27:09 +0200 |
commit | 4452b5ca098a10e31eab5c49837dfcb107fe1414 (patch) | |
tree | c0d13e7dde3db45280f408f268834c4ad43a9f6a /Meta | |
parent | b8d485e6f074ce906473765eb1cf761c9b9a4a91 (diff) | |
download | serenity-4452b5ca098a10e31eab5c49837dfcb107fe1414.zip |
LibWeb: Make 2D and 3D canvas rendering contexts GC-allocated
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp index e9ec6b244c..08c4c5b1c0 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp @@ -151,6 +151,10 @@ static bool impl_is_wrapper(Type const& type) return true; if (type.name == "MutationRecord"sv) return true; + if (type.name == "CanvasRenderingContext2D"sv) + return true; + if (type.name == "WebGLRenderingContext"sv) + return true; return false; } |