Issue #2546 - Part 3: Remove mapDataInto

This commit is contained in:
Moonchild 2024-07-09 00:33:06 +02:00 committed by roytam1
commit 1bc0eda791
6 changed files with 2 additions and 377 deletions

View file

@ -399,6 +399,4 @@ partial interface ImageBitmap {
ImageBitmapFormat findOptimalFormat (optional sequence<ImageBitmapFormat> aPossibleFormats);
[Throws, Func="mozilla::dom::ImageBitmap::ExtensionsEnabled"]
long mappedDataLength (ImageBitmapFormat aFormat);
[Throws, Func="mozilla::dom::ImageBitmap::ExtensionsEnabled"]
Promise<ImagePixelLayout> mapDataInto (ImageBitmapFormat aFormat, BufferSource aBuffer, long aOffset);
};