فهرست منبع

LibWeb: Don't include Layout/TreeBuilder.h from DOM/Element.h

Andreas Kling 2 سال پیش
والد
کامیت
f7678e2797
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      Userland/Libraries/LibWeb/DOM/Element.h
  2. 1 0
      Userland/Libraries/LibWeb/Forward.h

+ 1 - 1
Userland/Libraries/LibWeb/DOM/Element.h

@@ -12,6 +12,7 @@
 #include <LibWeb/Bindings/ElementPrototype.h>
 #include <LibWeb/Bindings/ShadowRootPrototype.h>
 #include <LibWeb/Bindings/WindowGlobalMixin.h>
+#include <LibWeb/CSS/Selector.h>
 #include <LibWeb/CSS/StyleProperty.h>
 #include <LibWeb/DOM/ChildNode.h>
 #include <LibWeb/DOM/NamedNodeMap.h>
@@ -23,7 +24,6 @@
 #include <LibWeb/HTML/TagNames.h>
 #include <LibWeb/HTML/Window.h>
 #include <LibWeb/Layout/Node.h>
-#include <LibWeb/Layout/TreeBuilder.h>
 #include <LibWeb/WebIDL/ExceptionOr.h>
 
 namespace Web::DOM {

+ 1 - 0
Userland/Libraries/LibWeb/Forward.h

@@ -448,6 +448,7 @@ class RadioButton;
 class ReplacedBox;
 class TableWrapper;
 class TextNode;
+class TreeBuilder;
 class VideoBox;
 class Viewport;