LibWeb: Add missing spec link for ImageData constructor

This commit is contained in:
Kenneth Myhra 2024-03-26 14:34:11 +01:00 committed by Andreas Kling
commit 40d62a4365
Notes: sideshowbarker 2024-07-17 02:08:15 +09:00

View file

@ -17,6 +17,7 @@ namespace Web::HTML {
JS_DEFINE_ALLOCATOR(ImageData);
// https://html.spec.whatwg.org/multipage/canvas.html#dom-imagedata
WebIDL::ExceptionOr<JS::NonnullGCPtr<ImageData>> ImageData::create(JS::Realm& realm, u32 sw, u32 sh, Optional<ImageDataSettings> const&)
{
auto& vm = realm.vm();