mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibWeb: Add missing spec link for ImageData constructor
This commit is contained in:
committed by
Andreas Kling
parent
c17171b86c
commit
40d62a4365
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user