summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-05-08 07:02:43 +0200
committerJelle Raaijmakers <jelle@gmta.nl>2023-05-08 09:29:44 +0200
commitf7678e279723d851dd81d62c3e44e1680618a686 (patch)
tree591b324b8177a6377783ac78d182685de5e214e3
parent4399ca2d82945297ebd9239a45717616f4957036 (diff)
downloadserenity-f7678e279723d851dd81d62c3e44e1680618a686.zip
LibWeb: Don't include Layout/TreeBuilder.h from DOM/Element.h
-rw-r--r--Userland/Libraries/LibWeb/DOM/Element.h2
-rw-r--r--Userland/Libraries/LibWeb/Forward.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Element.h b/Userland/Libraries/LibWeb/DOM/Element.h
index 23d4118dd8..3628b5720a 100644
--- a/Userland/Libraries/LibWeb/DOM/Element.h
+++ b/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 {
diff --git a/Userland/Libraries/LibWeb/Forward.h b/Userland/Libraries/LibWeb/Forward.h
index ba9687a466..6b5723f1c8 100644
--- a/Userland/Libraries/LibWeb/Forward.h
+++ b/Userland/Libraries/LibWeb/Forward.h
@@ -448,6 +448,7 @@ class RadioButton;
class ReplacedBox;
class TableWrapper;
class TextNode;
+class TreeBuilder;
class VideoBox;
class Viewport;