From 7d5b9122eca3d86b96aa4565118297c9a0bf6b1c Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Fri, 5 Apr 2024 09:06:51 -0400 Subject: [PATCH] LibWeb: Define `CanvasImageSource` only once The Variant is already defined in CanvasDrawImage.h. --- Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h index b73116ec883..f353346730e 100644 --- a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h +++ b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.h @@ -37,10 +37,6 @@ namespace Web::HTML { -// https://html.spec.whatwg.org/multipage/canvas.html#canvasimagesource -// NOTE: This is the Variant created by the IDL wrapper generator, and needs to be updated accordingly. -using CanvasImageSource = Variant, JS::Handle>; - class CanvasRenderingContext2D : public Bindings::PlatformObject , public CanvasPath