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
parent c17171b86c
commit 40d62a4365

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();