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