mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Add missing spec link for ImageData constructor
This commit is contained in:
parent
c17171b86c
commit
40d62a4365
Notes:
sideshowbarker
2024-07-17 02:08:15 +09:00
Author: https://github.com/kennethmyhra
Commit: 40d62a4365
Pull-request: https://github.com/SerenityOS/serenity/pull/23727
Reviewed-by: https://github.com/Lubrsi
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue