1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

LibWeb: Change CanvasRenderingContext2D.createImageData() args to long

Not sure why these are doubles in the IDL definition, both the IDL in
the spec and the implementation in the CanvasRenderingContext2D class
use integers.
This commit is contained in:
Linus Groh 2022-03-04 19:05:24 +01:00 committed by Andreas Kling
parent ca3c45cc1f
commit 08608932cc

View file

@ -36,7 +36,7 @@ interface CanvasRenderingContext2D {
attribute DOMString strokeStyle;
attribute double lineWidth;
ImageData createImageData(double sw, double sh);
ImageData createImageData(long sw, long sh);
undefined putImageData(ImageData imagedata, double dx, double dy);
undefined save();