Title: [218755] trunk/Source
Revision
218755
Author
[email protected]
Date
2017-06-23 12:07:32 -0700 (Fri, 23 Jun 2017)

Log Message

Remove excessive headers from WebCore/{bindings,css,dom}
https://bugs.webkit.org/show_bug.cgi?id=173766

Reviewed by Simon Fraser.

Source/WebCore:

No new tests needed.

* ForwardingHeaders/runtime/ThrowScope.h: Added.
* Modules/plugins/QuickTimePluginReplacement.mm:
* bindings/js/CachedScriptSourceProvider.h:
* bindings/js/JSCommandLineAPIHostCustom.cpp:
* bindings/js/JSCustomXPathNSResolver.cpp:
* bindings/js/JSDOMConstructorNotConstructable.h:
* bindings/js/JSDOMConvertBase.h:
* bindings/js/JSDOMConvertBufferSource.h:
* bindings/js/JSDOMConvertInterface.h:
* bindings/js/JSDOMConvertStrings.h:
* bindings/js/JSDOMConvertUnion.h:
* bindings/js/JSDOMConvertVariadic.h:
* bindings/js/JSDOMConvertWebGL.h:
* bindings/js/JSDOMExceptionHandling.h:
* bindings/js/JSDOMIterator.h:
* bindings/js/JSDOMMapLike.h:
* bindings/js/JSDOMWindowBase.cpp:
* bindings/js/JSDOMWindowCustom.cpp:
* bindings/js/JSDOMWindowCustom.h:
* bindings/js/JSDOMWindowProperties.h:
* bindings/js/JSDOMWrapperCache.h:
* bindings/js/JSLazyEventListener.cpp:
* bindings/js/JSMainThreadExecStateInstrumentation.h:
* bindings/js/JSMediaListCustom.h:
* bindings/js/JSNodeCustom.h:
* bindings/js/JSNodeListCustom.h:
* bindings/js/JSVideoTrackListCustom.cpp:
* bindings/js/ScheduledAction.h:
* bindings/js/ScriptSourceCode.h:
* bindings/js/SerializedScriptValue.h:
* bindings/js/WebCoreJSClientData.h:
* css/CSSFontFeatureValue.h:
* css/CSSPrimitiveValue.h:
* css/CSSStyleSheet.h:
* css/CSSValue.h:
* css/StyleBuilderCustom.h:
* dom/ContainerNodeAlgorithms.h:
* dom/DataTransfer.h:
* dom/Node.h:
* dom/NodeRareData.h:
* dom/Position.h:
* dom/RenderedDocumentMarker.h:

Source/WebKit/mac:

* DOM/DOMInternal.mm:

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (218754 => 218755)


--- trunk/Source/WebCore/ChangeLog	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/ChangeLog	2017-06-23 19:07:32 UTC (rev 218755)
@@ -1,3 +1,55 @@
+2017-06-23  Konstantin Tokarev  <[email protected]>
+
+        Remove excessive headers from WebCore/{bindings,css,dom}
+        https://bugs.webkit.org/show_bug.cgi?id=173766
+
+        Reviewed by Simon Fraser.
+
+        No new tests needed.
+
+        * ForwardingHeaders/runtime/ThrowScope.h: Added.
+        * Modules/plugins/QuickTimePluginReplacement.mm:
+        * bindings/js/CachedScriptSourceProvider.h:
+        * bindings/js/JSCommandLineAPIHostCustom.cpp:
+        * bindings/js/JSCustomXPathNSResolver.cpp:
+        * bindings/js/JSDOMConstructorNotConstructable.h:
+        * bindings/js/JSDOMConvertBase.h:
+        * bindings/js/JSDOMConvertBufferSource.h:
+        * bindings/js/JSDOMConvertInterface.h:
+        * bindings/js/JSDOMConvertStrings.h:
+        * bindings/js/JSDOMConvertUnion.h:
+        * bindings/js/JSDOMConvertVariadic.h:
+        * bindings/js/JSDOMConvertWebGL.h:
+        * bindings/js/JSDOMExceptionHandling.h:
+        * bindings/js/JSDOMIterator.h:
+        * bindings/js/JSDOMMapLike.h:
+        * bindings/js/JSDOMWindowBase.cpp:
+        * bindings/js/JSDOMWindowCustom.cpp:
+        * bindings/js/JSDOMWindowCustom.h:
+        * bindings/js/JSDOMWindowProperties.h:
+        * bindings/js/JSDOMWrapperCache.h:
+        * bindings/js/JSLazyEventListener.cpp:
+        * bindings/js/JSMainThreadExecStateInstrumentation.h:
+        * bindings/js/JSMediaListCustom.h:
+        * bindings/js/JSNodeCustom.h:
+        * bindings/js/JSNodeListCustom.h:
+        * bindings/js/JSVideoTrackListCustom.cpp:
+        * bindings/js/ScheduledAction.h:
+        * bindings/js/ScriptSourceCode.h:
+        * bindings/js/SerializedScriptValue.h:
+        * bindings/js/WebCoreJSClientData.h:
+        * css/CSSFontFeatureValue.h:
+        * css/CSSPrimitiveValue.h:
+        * css/CSSStyleSheet.h:
+        * css/CSSValue.h:
+        * css/StyleBuilderCustom.h:
+        * dom/ContainerNodeAlgorithms.h:
+        * dom/DataTransfer.h:
+        * dom/Node.h:
+        * dom/NodeRareData.h:
+        * dom/Position.h:
+        * dom/RenderedDocumentMarker.h:
+
 2017-06-23  Basuke Suzuki  <[email protected]>
 
         Fix broken WinCairo build

Added: trunk/Source/WebCore/ForwardingHeaders/runtime/ThrowScope.h (0 => 218755)


--- trunk/Source/WebCore/ForwardingHeaders/runtime/ThrowScope.h	                        (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/runtime/ThrowScope.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -0,0 +1,4 @@
+#ifndef WebCore_FWD_ThrowScope_h
+#define WebCore_FWD_ThrowScope_h
+#include <_javascript_Core/ThrowScope.h>
+#endif

Modified: trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.mm (218754 => 218755)


--- trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.mm	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.mm	2017-06-23 19:07:32 UTC (rev 218755)
@@ -46,6 +46,7 @@
 #import "ScriptController.h"
 #import "ScriptSourceCode.h"
 #import "Settings.h"
+#import "ShadowRoot.h"
 #import "UserAgentScripts.h"
 #import <AVFoundation/AVMetadataItem.h>
 #import <Foundation/NSString.h>

Modified: trunk/Source/WebCore/bindings/js/CachedScriptSourceProvider.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/CachedScriptSourceProvider.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/CachedScriptSourceProvider.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -29,7 +29,6 @@
 #include "CachedResourceHandle.h"
 #include "CachedScript.h"
 #include "CachedScriptFetcher.h"
-#include <parser/SourceCode.h>
 #include <parser/SourceProvider.h>
 
 namespace WebCore {

Modified: trunk/Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp	2017-06-23 19:07:32 UTC (rev 218755)
@@ -35,6 +35,7 @@
 
 #include "CommandLineAPIHost.h"
 #include "Database.h"
+#include "Document.h"
 #include "InspectorDOMAgent.h"
 #include "JSDatabase.h"
 #include "JSEventListener.h"

Modified: trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp	2017-06-23 19:07:32 UTC (rev 218755)
@@ -27,6 +27,7 @@
 #include "JSCustomXPathNSResolver.h"
 
 #include "CommonVM.h"
+#include "DOMWindow.h"
 #include "Document.h"
 #include "Frame.h"
 #include "JSDOMExceptionHandling.h"

Modified: trunk/Source/WebCore/bindings/js/JSDOMConstructorNotConstructable.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConstructorNotConstructable.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConstructorNotConstructable.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -20,7 +20,6 @@
 #pragma once
 
 #include "JSDOMConstructorBase.h"
-#include "JSDOMExceptionHandling.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertBase.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConvertBase.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertBase.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -26,6 +26,7 @@
 #pragma once
 
 #include "JSDOMExceptionHandling.h"
+#include <runtime/Error.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertBufferSource.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConvertBufferSource.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertBufferSource.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -28,7 +28,6 @@
 #include "BufferSource.h"
 #include "IDLTypes.h"
 #include "JSDOMConvertBase.h"
-#include "JSDOMExceptionHandling.h"
 #include "JSDOMWrapperCache.h"
 #include "JSDynamicDowncast.h"
 #include <runtime/JSTypedArrays.h>

Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertInterface.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConvertInterface.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertInterface.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -27,7 +27,7 @@
 
 #include "IDLTypes.h"
 #include "JSDOMConvertBase.h"
-#include "JSDOMExceptionHandling.h"
+#include <runtime/Error.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertStrings.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConvertStrings.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertStrings.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -27,7 +27,6 @@
 
 #include "IDLTypes.h"
 #include "JSDOMConvertBase.h"
-#include "JSDOMExceptionHandling.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertUnion.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConvertUnion.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertUnion.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -31,6 +31,7 @@
 #include "JSDOMConvertBufferSource.h"
 #include "JSDOMConvertNull.h"
 #include <runtime/IteratorOperations.h>
+#include <wtf/Variant.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertVariadic.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConvertVariadic.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertVariadic.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -26,7 +26,6 @@
 #pragma once
 
 #include "IDLTypes.h"
-#include "JSDOMConvertBase.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertWebGL.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMConvertWebGL.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertWebGL.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -28,7 +28,6 @@
 #if ENABLE(WEBGL)
 
 #include "IDLTypes.h"
-#include "JSDOMConvertBase.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMExceptionHandling.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMExceptionHandling.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMExceptionHandling.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -25,7 +25,7 @@
 
 #include "ExceptionCode.h"
 #include "ExceptionOr.h"
-#include <runtime/Error.h>
+#include <runtime/ThrowScope.h>
 
 namespace JSC {
 class CatchScope;

Modified: trunk/Source/WebCore/bindings/js/JSDOMIterator.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMIterator.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMIterator.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -28,7 +28,6 @@
 
 #include "JSDOMConvert.h"
 #include <runtime/IteratorPrototype.h>
-#include <runtime/JSDestructibleObject.h>
 #include <type_traits>
 
 namespace WebCore {

Modified: trunk/Source/WebCore/bindings/js/JSDOMMapLike.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMMapLike.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMMapLike.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -25,11 +25,9 @@
 
 #pragma once
 
-#include "ActiveDOMCallback.h"
 #include "JSDOMBinding.h"
 #include "JSDOMConvert.h"
 #include "JSDOMGuardedObject.h"
-#include "ScriptExecutionContext.h"
 #include <builtins/BuiltinNames.h>
 #include <runtime/CommonIdentifiers.h>
 #include <runtime/JSMap.h>

Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp	2017-06-23 19:07:32 UTC (rev 218755)
@@ -28,6 +28,7 @@
 #include "Chrome.h"
 #include "CommonVM.h"
 #include "DOMWindow.h"
+#include "Document.h"
 #include "Frame.h"
 #include "InspectorController.h"
 #include "JSDOMBindingSecurity.h"

Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp	2017-06-23 19:07:32 UTC (rev 218755)
@@ -30,6 +30,7 @@
 #include "JSDOMConvertNullable.h"
 #include "JSDOMConvertNumbers.h"
 #include "JSDOMConvertStrings.h"
+#include "JSDOMWindowProxy.h"
 #include "JSEvent.h"
 #include "JSEventListener.h"
 #include "JSHTMLAudioElement.h"

Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -19,7 +19,6 @@
 #pragma once
 
 #include "JSDOMWindow.h"
-#include "JSDOMWindowProxy.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowProperties.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMWindowProperties.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowProperties.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -25,7 +25,6 @@
 
 #pragma once
 
-#include "DOMWindow.h"
 #include "JSDOMWindow.h"
 #include "JSDOMWrapper.h"
 

Modified: trunk/Source/WebCore/bindings/js/JSDOMWrapperCache.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSDOMWrapperCache.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSDOMWrapperCache.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -34,7 +34,6 @@
 #include <heap/WeakInlines.h>
 #include <runtime/JSArrayBuffer.h>
 #include <runtime/TypedArrayInlines.h>
-#include <runtime/TypedArrays.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSLazyEventListener.cpp (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSLazyEventListener.cpp	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSLazyEventListener.cpp	2017-06-23 19:07:32 UTC (rev 218755)
@@ -21,9 +21,13 @@
 #include "JSLazyEventListener.h"
 
 #include "CachedScriptFetcher.h"
+#include "ContainerNode.h"
 #include "ContentSecurityPolicy.h"
+#include "Document.h"
+#include "Element.h"
 #include "Frame.h"
 #include "JSNode.h"
+#include "QualifiedName.h"
 #include "ScriptController.h"
 #include <runtime/FunctionConstructor.h>
 #include <runtime/IdentifierInlines.h>

Modified: trunk/Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -28,7 +28,6 @@
 
 #include "InspectorInstrumentation.h"
 #include "JSMainThreadExecState.h"
-#include <runtime/FunctionExecutable.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSMediaListCustom.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSMediaListCustom.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSMediaListCustom.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -27,7 +27,6 @@
 
 #include "CSSRule.h"
 #include "CSSStyleSheet.h"
-#include "JSCSSRuleCustom.h"
 #include "JSStyleSheetCustom.h"
 #include "MediaList.h"
 

Modified: trunk/Source/WebCore/bindings/js/JSNodeCustom.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSNodeCustom.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSNodeCustom.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -27,7 +27,6 @@
 
 #include "JSDOMBinding.h"
 #include "JSNode.h"
-#include "ShadowRoot.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSNodeListCustom.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSNodeListCustom.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSNodeListCustom.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -26,7 +26,6 @@
 #pragma once
 
 #include "JSDOMBinding.h"
-#include "JSNodeList.h"
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/bindings/js/JSVideoTrackListCustom.cpp (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/JSVideoTrackListCustom.cpp	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/JSVideoTrackListCustom.cpp	2017-06-23 19:07:32 UTC (rev 218755)
@@ -27,8 +27,8 @@
 
 #if ENABLE(VIDEO_TRACK)
 
+#include "Element.h"
 #include "JSVideoTrackList.h"
-
 #include "JSNodeCustom.h"
 
 using namespace JSC;

Modified: trunk/Source/WebCore/bindings/js/ScheduledAction.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/ScheduledAction.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/ScheduledAction.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -23,7 +23,6 @@
 #include <heap/Strong.h>
 #include <heap/StrongInlines.h>
 #include <memory>
-#include <runtime/JSCell.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
 

Modified: trunk/Source/WebCore/bindings/js/ScriptSourceCode.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/ScriptSourceCode.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/ScriptSourceCode.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -35,6 +35,7 @@
 #include "CachedScriptFetcher.h"
 #include "CachedScriptSourceProvider.h"
 #include "URL.h"
+#include <parser/SourceCode.h>
 #include <parser/SourceProvider.h>
 #include <wtf/text/TextPosition.h>
 #include <wtf/RefPtr.h>

Modified: trunk/Source/WebCore/bindings/js/SerializedScriptValue.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/SerializedScriptValue.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/SerializedScriptValue.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -32,7 +32,6 @@
 #include <runtime/JSCJSValue.h>
 #include <wtf/Forward.h>
 #include <wtf/Function.h>
-#include <wtf/RefCounted.h>
 #include <wtf/text/WTFString.h>
 
 typedef const struct OpaqueJSContext* JSContextRef;

Modified: trunk/Source/WebCore/bindings/js/WebCoreJSClientData.h (218754 => 218755)


--- trunk/Source/WebCore/bindings/js/WebCoreJSClientData.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/bindings/js/WebCoreJSClientData.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -24,7 +24,6 @@
 #include "DOMWrapperWorld.h"
 #include "WebCoreBuiltinNames.h"
 #include "WebCoreJSBuiltins.h"
-#include "WebCoreTypedArrayController.h"
 #include <wtf/HashSet.h>
 #include <wtf/RefPtr.h>
 

Modified: trunk/Source/WebCore/css/CSSFontFeatureValue.h (218754 => 218755)


--- trunk/Source/WebCore/css/CSSFontFeatureValue.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/css/CSSFontFeatureValue.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -26,7 +26,6 @@
 #pragma once
 
 #include "CSSValue.h"
-#include "FontSelectionAlgorithm.h"
 #include "FontTaggedSettings.h"
 
 namespace WebCore {

Modified: trunk/Source/WebCore/css/CSSPrimitiveValue.h (218754 => 218755)


--- trunk/Source/WebCore/css/CSSPrimitiveValue.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/css/CSSPrimitiveValue.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -25,6 +25,7 @@
 #include "CSSValue.h"
 #include "CSSValueKeywords.h"
 #include "Color.h"
+#include "ExceptionOr.h"
 #include "LayoutUnit.h"
 #include <utility>
 #include <wtf/Forward.h>

Modified: trunk/Source/WebCore/css/CSSStyleSheet.h (218754 => 218755)


--- trunk/Source/WebCore/css/CSSStyleSheet.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/css/CSSStyleSheet.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -20,7 +20,6 @@
 
 #pragma once
 
-#include "CSSParserMode.h"
 #include "ExceptionOr.h"
 #include "StyleSheet.h"
 #include <memory>

Modified: trunk/Source/WebCore/css/CSSValue.h (218754 => 218755)


--- trunk/Source/WebCore/css/CSSValue.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/css/CSSValue.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -20,7 +20,6 @@
 
 #pragma once
 
-#include "ExceptionOr.h"
 #include "URLHash.h"
 #include <wtf/Function.h>
 #include <wtf/HashMap.h>

Modified: trunk/Source/WebCore/css/StyleBuilderCustom.h (218754 => 218755)


--- trunk/Source/WebCore/css/StyleBuilderCustom.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/css/StyleBuilderCustom.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -42,7 +42,6 @@
 #include "Frame.h"
 #include "HTMLElement.h"
 #include "Rect.h"
-#include "RenderTheme.h"
 #include "SVGElement.h"
 #include "SVGRenderStyle.h"
 #include "StyleBuilderConverter.h"

Modified: trunk/Source/WebCore/dom/ContainerNodeAlgorithms.h (218754 => 218755)


--- trunk/Source/WebCore/dom/ContainerNodeAlgorithms.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/dom/ContainerNodeAlgorithms.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -22,7 +22,6 @@
 #pragma once
 
 #include "ContainerNode.h"
-#include "Frame.h"
 #include <wtf/Assertions.h>
 
 namespace WebCore {

Modified: trunk/Source/WebCore/dom/DataTransfer.h (218754 => 218755)


--- trunk/Source/WebCore/dom/DataTransfer.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/dom/DataTransfer.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -27,7 +27,6 @@
 #include "DataTransferAccessPolicy.h"
 #include "DragActions.h"
 #include "DragImage.h"
-#include "IntPoint.h"
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {

Modified: trunk/Source/WebCore/dom/Node.h (218754 => 218755)


--- trunk/Source/WebCore/dom/Node.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/dom/Node.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -35,7 +35,6 @@
 #include <wtf/Forward.h>
 #include <wtf/ListHashSet.h>
 #include <wtf/MainThread.h>
-#include <wtf/TypeCasts.h>
 
 // This needs to be here because Document.h also depends on it.
 #define DUMP_NODE_STATISTICS 0

Modified: trunk/Source/WebCore/dom/NodeRareData.h (218754 => 218755)


--- trunk/Source/WebCore/dom/NodeRareData.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/dom/NodeRareData.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -32,10 +32,6 @@
 #include <wtf/HashSet.h>
 #include <wtf/text/AtomicString.h>
 
-#if ENABLE(VIDEO_TRACK)
-#include "TextTrack.h"
-#endif
-
 namespace WebCore {
 
 class LabelsNodeList;

Modified: trunk/Source/WebCore/dom/Position.h (218754 => 218755)


--- trunk/Source/WebCore/dom/Position.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/dom/Position.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -28,7 +28,6 @@
 #include "ContainerNode.h"
 #include "EditingBoundary.h"
 #include "TextAffinity.h"
-#include "TextFlags.h"
 #include <wtf/Assertions.h>
 #include <wtf/RefPtr.h>
 

Modified: trunk/Source/WebCore/dom/RenderedDocumentMarker.h (218754 => 218755)


--- trunk/Source/WebCore/dom/RenderedDocumentMarker.h	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebCore/dom/RenderedDocumentMarker.h	2017-06-23 19:07:32 UTC (rev 218755)
@@ -26,7 +26,6 @@
 
 #pragma once
 
-#include "DocumentMarker.h"
 #include <wtf/Vector.h>
 
 namespace WebCore {

Modified: trunk/Source/WebKit/mac/ChangeLog (218754 => 218755)


--- trunk/Source/WebKit/mac/ChangeLog	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebKit/mac/ChangeLog	2017-06-23 19:07:32 UTC (rev 218755)
@@ -1,3 +1,12 @@
+2017-06-23  Konstantin Tokarev  <[email protected]>
+
+        Remove excessive headers from WebCore/{bindings,css,dom}
+        https://bugs.webkit.org/show_bug.cgi?id=173766
+
+        Reviewed by Simon Fraser.
+
+        * DOM/DOMInternal.mm:
+
 2017-06-22  Daniel Bates  <[email protected]>
 
         Make FrameLoadRequest a move-only type

Modified: trunk/Source/WebKit/mac/DOM/DOMInternal.mm (218754 => 218755)


--- trunk/Source/WebKit/mac/DOM/DOMInternal.mm	2017-06-23 18:48:01 UTC (rev 218754)
+++ trunk/Source/WebKit/mac/DOM/DOMInternal.mm	2017-06-23 19:07:32 UTC (rev 218755)
@@ -26,6 +26,7 @@
 #import "DOMInternal.h"
 
 #import "DOMNodeInternal.h"
+#import <WebCore/Document.h>
 #import <WebCore/Frame.h>
 #import <WebCore/JSNode.h>
 #import <WebCore/ScriptController.h>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to