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
commit 08608932cc
Notes: sideshowbarker 2024-07-17 17:56:04 +09:00

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