mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Make 2D and 3D canvas rendering contexts GC-allocated
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4452b5ca09 Pull-request: https://github.com/SerenityOS/serenity/pull/14816 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/linusg ✅
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user