Ver Fonte

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.
Andreas Kling há 2 anos atrás
pai
commit
2c37df6241

+ 1 - 0
Userland/Libraries/LibWeb/HTML/HTMLElement.cpp

@@ -12,6 +12,7 @@
 #include <LibWeb/DOM/ShadowRoot.h>
 #include <LibWeb/HTML/BrowsingContext.h>
 #include <LibWeb/HTML/BrowsingContextContainer.h>
+#include <LibWeb/HTML/DOMStringMap.h>
 #include <LibWeb/HTML/EventHandler.h>
 #include <LibWeb/HTML/HTMLAnchorElement.h>
 #include <LibWeb/HTML/HTMLAreaElement.h>

+ 0 - 1
Userland/Libraries/LibWeb/HTML/HTMLElement.h

@@ -7,7 +7,6 @@
 #pragma once
 
 #include <LibWeb/DOM/Element.h>
-#include <LibWeb/HTML/DOMStringMap.h>
 #include <LibWeb/HTML/EventNames.h>
 #include <LibWeb/HTML/GlobalEventHandlers.h>
 

+ 1 - 0
Userland/Libraries/LibWeb/SVG/SVGElement.cpp

@@ -5,6 +5,7 @@
  */
 
 #include <LibWeb/Bindings/Intrinsics.h>
+#include <LibWeb/HTML/DOMStringMap.h>
 #include <LibWeb/SVG/SVGElement.h>
 
 namespace Web::SVG {

+ 0 - 1
Userland/Libraries/LibWeb/SVG/SVGElement.h

@@ -7,7 +7,6 @@
 #pragma once
 
 #include <LibWeb/DOM/Element.h>
-#include <LibWeb/HTML/DOMStringMap.h>
 
 namespace Web::SVG {