summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-03-04 19:05:24 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-04 23:03:29 +0100
commit08608932cc702b2d47d28a3a135264323288a6dd (patch)
tree41ade6cf74c8a8d5009beff2ab8ba8fd8627a519
parentca3c45cc1f04f2c4d55a11c6ebba44a3fe98d71c (diff)
downloadserenity-08608932cc702b2d47d28a3a135264323288a6dd.zip
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.
-rw-r--r--Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl2
1 files changed, 1 insertions, 1 deletions
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();