From 08608932cc702b2d47d28a3a135264323288a6dd Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 4 Mar 2022 19:05:24 +0100 Subject: 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. --- Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland') diff --git a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl index 3b92b32378..0b64f299af 100644 --- a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl +++ b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl @@ -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(); -- cgit v1.2.3