From 2c37df6241889e8db182a14057f69f347f84519e Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 8 Oct 2022 12:25:01 +0200 Subject: [PATCH] LibWeb: Don't include DOMStringMap.h quite so much This file was being included everywhere via HTMLElement and SVGElement, but we don't actually need to do that. --- Userland/Libraries/LibWeb/HTML/HTMLElement.cpp | 1 + Userland/Libraries/LibWeb/HTML/HTMLElement.h | 1 - Userland/Libraries/LibWeb/SVG/SVGElement.cpp | 1 + Userland/Libraries/LibWeb/SVG/SVGElement.h | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp index bd25760637..32c675bfa3 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.h b/Userland/Libraries/LibWeb/HTML/HTMLElement.h index 72097c8462..76d7fe7350 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.h @@ -7,7 +7,6 @@ #pragma once #include -#include #include #include diff --git a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp index 82155ad6bb..10c1a2e10c 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp @@ -5,6 +5,7 @@ */ #include +#include #include namespace Web::SVG { diff --git a/Userland/Libraries/LibWeb/SVG/SVGElement.h b/Userland/Libraries/LibWeb/SVG/SVGElement.h index 1228da6a75..8752f71961 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGElement.h @@ -7,7 +7,6 @@ #pragma once #include -#include namespace Web::SVG {