Reduce includes in Document.h
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2017 17:24:44 +0000 (17:24 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2017 17:24:44 +0000 (17:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=178035

Reviewed by Darin Adler.

* dom/Document.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223049 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/Document.h

index b88f6248c22bc26488e2032613c15d0801317f23..72abb4739607ec8a0565556cc611172f0324c562 100644 (file)
@@ -1,3 +1,12 @@
+2017-10-09  Alex Christensen  <achristensen@webkit.org>
+
+        Reduce includes in Document.h
+        https://bugs.webkit.org/show_bug.cgi?id=178035
+
+        Reviewed by Darin Adler.
+
+        * dom/Document.h:
+
 2017-10-09  Joanmarie Diggs  <jdiggs@igalia.com>
 
         AX: [ATK] Explicitly-set aria-sort value of "none" should be exposed as an object attribute
index 9011bd09fefd8bd506171ab6fad560f5ef5f3634..d1ba38fedecc703321675580cff4dfaed9141753 100644 (file)
 
 #pragma once
 
-#include "CollectionType.h"
 #include "Color.h"
 #include "ContainerNode.h"
 #include "DocumentEventQueue.h"
 #include "DocumentTiming.h"
-#include "ExceptionOr.h"
 #include "FocusDirection.h"
 #include "FontSelectorClient.h"
 #include "FrameDestructionObserver.h"
 #include "TreeScope.h"
 #include "UserActionElementSet.h"
 #include "ViewportArguments.h"
-#include <memory>
 #include <pal/SessionID.h>
 #include <wtf/Deque.h>
+#include <wtf/Forward.h>
 #include <wtf/HashCountedSet.h>
 #include <wtf/HashSet.h>
-#include <wtf/Optional.h>
-#include <wtf/Variant.h>
 #include <wtf/WeakPtr.h>
 #include <wtf/text/AtomicStringHash.h>
 
@@ -187,6 +183,9 @@ class XPathExpression;
 class XPathNSResolver;
 class XPathResult;
 
+template<typename> class ExceptionOr;
+
+enum CollectionType;
 enum class ShouldOpenExternalURLsPolicy;
 
 using PlatformDisplayID = uint32_t;