Unreviewed build fix
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 May 2019 00:48:59 +0000 (00:48 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 May 2019 00:48:59 +0000 (00:48 +0000)
Attempting to build with only Open Source sources on shipping software with
ASan enabled triggers build failures due to missing includes. This patch adds
the necessary includes to cleanly build WebCore.

* Modules/applepay/ApplePaySession.cpp:
* Modules/applepay/PaymentSession.cpp:
* Modules/mediastream/UserMediaController.cpp:
* bindings/js/ScriptController.cpp:
* contentextensions/ContentExtensionsBackend.cpp:
* dom/Document.cpp:
* dom/ScriptedAnimationController.cpp:
* editing/cocoa/EditorCocoa.mm:
* editing/cocoa/HTMLConverter.mm:
* editing/cocoa/WebContentReaderCocoa.mm:
* editing/markup.cpp:
* history/CachedFrame.cpp:
* html/HTMLDocument.cpp:
* html/HTMLHtmlElement.cpp:
* html/HTMLMediaElement.cpp:
* html/ImageDocument.cpp:
* html/MediaDocument.cpp:
* html/PluginDocument.cpp:
* html/parser/HTMLDocumentParser.cpp:
* html/parser/XSSAuditor.cpp:
* inspector/InspectorInstrumentation.cpp:
* inspector/agents/InspectorApplicationCacheAgent.cpp:
* inspector/agents/InspectorNetworkAgent.cpp:
* inspector/agents/InspectorPageAgent.cpp:
* inspector/agents/page/PageNetworkAgent.cpp:
* loader/ApplicationManifestLoader.cpp:
* loader/FrameLoader.cpp:
* loader/LoadTiming.cpp:
* loader/NetscapePlugInStreamLoader.cpp:
* loader/ResourceLoader.cpp:
* loader/SubresourceLoader.cpp:
* loader/appcache/ApplicationCacheHost.cpp:
* loader/archive/cf/LegacyWebArchive.cpp:
* loader/icon/IconLoader.cpp:
* page/ContextMenuController.cpp:
* page/FrameView.cpp:
* page/Page.cpp:
* page/Performance.cpp:
* page/PerformanceNavigation.cpp:
* page/Quirks.cpp:
* page/UserContentProvider.cpp:
* page/csp/ContentSecurityPolicy.cpp:
* page/mac/PageMac.mm:
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
* svg/graphics/SVGImage.cpp:
* testing/Internals.cpp:

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

47 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/ApplePaySession.cpp
Source/WebCore/Modules/applepay/PaymentSession.cpp
Source/WebCore/Modules/mediastream/UserMediaController.cpp
Source/WebCore/bindings/js/ScriptController.cpp
Source/WebCore/contentextensions/ContentExtensionsBackend.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/ScriptedAnimationController.cpp
Source/WebCore/editing/cocoa/EditorCocoa.mm
Source/WebCore/editing/cocoa/HTMLConverter.mm
Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm
Source/WebCore/editing/markup.cpp
Source/WebCore/history/CachedFrame.cpp
Source/WebCore/html/HTMLDocument.cpp
Source/WebCore/html/HTMLHtmlElement.cpp
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/html/ImageDocument.cpp
Source/WebCore/html/MediaDocument.cpp
Source/WebCore/html/PluginDocument.cpp
Source/WebCore/html/parser/HTMLDocumentParser.cpp
Source/WebCore/html/parser/XSSAuditor.cpp
Source/WebCore/inspector/InspectorInstrumentation.cpp
Source/WebCore/inspector/agents/InspectorApplicationCacheAgent.cpp
Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
Source/WebCore/inspector/agents/InspectorPageAgent.cpp
Source/WebCore/inspector/agents/page/PageNetworkAgent.cpp
Source/WebCore/loader/ApplicationManifestLoader.cpp
Source/WebCore/loader/FrameLoader.cpp
Source/WebCore/loader/LoadTiming.cpp
Source/WebCore/loader/NetscapePlugInStreamLoader.cpp
Source/WebCore/loader/ResourceLoader.cpp
Source/WebCore/loader/SubresourceLoader.cpp
Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp
Source/WebCore/loader/icon/IconLoader.cpp
Source/WebCore/page/ContextMenuController.cpp
Source/WebCore/page/FrameView.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/page/Performance.cpp
Source/WebCore/page/PerformanceNavigation.cpp
Source/WebCore/page/Quirks.cpp
Source/WebCore/page/UserContentProvider.cpp
Source/WebCore/page/csp/ContentSecurityPolicy.cpp
Source/WebCore/page/mac/PageMac.mm
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
Source/WebCore/svg/graphics/SVGImage.cpp
Source/WebCore/testing/Internals.cpp

index f311c44..fece5bf 100644 (file)
@@ -1,3 +1,58 @@
+2019-05-19  Brent Fulgham  <bfulgham@apple.com>
+
+        Unreviewed build fix
+
+        Attempting to build with only Open Source sources on shipping software with
+        ASan enabled triggers build failures due to missing includes. This patch adds
+        the necessary includes to cleanly build WebCore.
+
+        * Modules/applepay/ApplePaySession.cpp:
+        * Modules/applepay/PaymentSession.cpp:
+        * Modules/mediastream/UserMediaController.cpp:
+        * bindings/js/ScriptController.cpp:
+        * contentextensions/ContentExtensionsBackend.cpp:
+        * dom/Document.cpp:
+        * dom/ScriptedAnimationController.cpp:
+        * editing/cocoa/EditorCocoa.mm:
+        * editing/cocoa/HTMLConverter.mm:
+        * editing/cocoa/WebContentReaderCocoa.mm:
+        * editing/markup.cpp:
+        * history/CachedFrame.cpp:
+        * html/HTMLDocument.cpp:
+        * html/HTMLHtmlElement.cpp:
+        * html/HTMLMediaElement.cpp:
+        * html/ImageDocument.cpp:
+        * html/MediaDocument.cpp:
+        * html/PluginDocument.cpp:
+        * html/parser/HTMLDocumentParser.cpp:
+        * html/parser/XSSAuditor.cpp:
+        * inspector/InspectorInstrumentation.cpp:
+        * inspector/agents/InspectorApplicationCacheAgent.cpp:
+        * inspector/agents/InspectorNetworkAgent.cpp:
+        * inspector/agents/InspectorPageAgent.cpp:
+        * inspector/agents/page/PageNetworkAgent.cpp:
+        * loader/ApplicationManifestLoader.cpp:
+        * loader/FrameLoader.cpp:
+        * loader/LoadTiming.cpp:
+        * loader/NetscapePlugInStreamLoader.cpp:
+        * loader/ResourceLoader.cpp:
+        * loader/SubresourceLoader.cpp:
+        * loader/appcache/ApplicationCacheHost.cpp:
+        * loader/archive/cf/LegacyWebArchive.cpp:
+        * loader/icon/IconLoader.cpp:
+        * page/ContextMenuController.cpp:
+        * page/FrameView.cpp:
+        * page/Page.cpp:
+        * page/Performance.cpp:
+        * page/PerformanceNavigation.cpp:
+        * page/Quirks.cpp:
+        * page/UserContentProvider.cpp:
+        * page/csp/ContentSecurityPolicy.cpp:
+        * page/mac/PageMac.mm:
+        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+        * svg/graphics/SVGImage.cpp:
+        * testing/Internals.cpp:
+
 2019-05-19  Antoine Quint  <graouts@apple.com>
 
         [Pointer Events] Listening to a "pointerover", "pointerenter", "pointerout" or "pointerleave" event alone does not fire the event on iOS
index e30a85e..375509e 100644 (file)
@@ -40,6 +40,7 @@
 #include "ApplePayShippingMethodSelectedEvent.h"
 #include "ApplePayShippingMethodUpdate.h"
 #include "ApplePayValidateMerchantEvent.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index 65d9f86..15255f0 100644 (file)
@@ -28,6 +28,7 @@
 
 #if ENABLE(APPLE_PAY)
 
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Page.h"
index 21ea1b5..658702a 100644 (file)
@@ -28,6 +28,7 @@
 
 #if ENABLE(MEDIA_STREAM)
 
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index bf30e93..5aaa34b 100644 (file)
@@ -25,6 +25,7 @@
 #include "CachedScriptFetcher.h"
 #include "CommonVM.h"
 #include "ContentSecurityPolicy.h"
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Event.h"
 #include "Frame.h"
index e59f88e..a798b5f 100644 (file)
@@ -34,6 +34,7 @@
 #include "ContentExtension.h"
 #include "ContentExtensionsDebugging.h"
 #include "ContentRuleListResults.h"
+#include "CustomHeaderFields.h"
 #include "DFABytecodeInterpreter.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index 4191d21..9260585 100644 (file)
@@ -53,6 +53,7 @@
 #include "CustomElementReactionQueue.h"
 #include "CustomElementRegistry.h"
 #include "CustomEvent.h"
+#include "CustomHeaderFields.h"
 #include "DOMImplementation.h"
 #include "DOMWindow.h"
 #include "DateComponents.h"
index 8726f03..4718a92 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "Chrome.h"
 #include "ChromeClient.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index 949b1a9..f25f28c 100644 (file)
@@ -31,6 +31,7 @@
 #import "CSSValuePool.h"
 #import "CachedResourceLoader.h"
 #import "ColorMac.h"
+#import "CustomHeaderFields.h"
 #import "DocumentFragment.h"
 #import "DocumentLoader.h"
 #import "Editing.h"
index 1f38019..0653b23 100644 (file)
@@ -35,6 +35,7 @@
 #import "ColorCocoa.h"
 #import "ColorMac.h"
 #import "ComposedTreeIterator.h"
+#import "CustomHeaderFields.h"
 #import "Document.h"
 #import "DocumentLoader.h"
 #import "Editing.h"
index 8c331ff..373f5b1 100644 (file)
@@ -30,6 +30,7 @@
 #import "Blob.h"
 #import "BlobURL.h"
 #import "CachedResourceLoader.h"
+#import "CustomHeaderFields.h"
 #import "DOMURL.h"
 #import "Document.h"
 #import "DocumentFragment.h"
index 00cb4e9..c68be1f 100644 (file)
@@ -38,6 +38,7 @@
 #include "ChildListMutationScope.h"
 #include "Comment.h"
 #include "ComposedTreeIterator.h"
+#include "CustomHeaderFields.h"
 #include "DocumentFragment.h"
 #include "DocumentLoader.h"
 #include "DocumentType.h"
index 6aba928..7e0dfdb 100644 (file)
@@ -29,6 +29,7 @@
 #include "CSSAnimationController.h"
 #include "CachedFramePlatformData.h"
 #include "CachedPage.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index eb62e9e..0c7d390 100644 (file)
@@ -56,6 +56,7 @@
 #include "CSSPropertyNames.h"
 #include "CommonVM.h"
 #include "CookieJar.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DocumentLoader.h"
 #include "DocumentType.h"
index 65174b8..9c643b5 100644 (file)
@@ -25,6 +25,7 @@
 #include "HTMLHtmlElement.h"
 
 #include "ApplicationCacheHost.h"
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "DocumentParser.h"
index 216e937..cb84587 100644 (file)
@@ -40,6 +40,7 @@
 #include "ContentSecurityPolicy.h"
 #include "ContentType.h"
 #include "CookieJar.h"
+#include "CustomHeaderFields.h"
 #include "DeprecatedGlobalSettings.h"
 #include "DiagnosticLoggingClient.h"
 #include "DiagnosticLoggingKeys.h"
index f429223..2eb3c50 100644 (file)
@@ -28,6 +28,7 @@
 #include "CachedImage.h"
 #include "Chrome.h"
 #include "ChromeClient.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DocumentLoader.h"
 #include "EventListener.h"
index 77c461c..03562e7 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "Chrome.h"
 #include "ChromeClient.h"
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "EventNames.h"
 #include "Frame.h"
index ab7a071..50e19df 100644 (file)
@@ -25,6 +25,7 @@
 #include "config.h"
 #include "PluginDocument.h"
 
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 #include "FrameLoader.h"
index 43abb5e..4ff4e2b 100644 (file)
@@ -27,6 +27,7 @@
 #include "config.h"
 #include "HTMLDocumentParser.h"
 
+#include "CustomHeaderFields.h"
 #include "CustomElementReactionQueue.h"
 #include "DocumentFragment.h"
 #include "DocumentLoader.h"
index da9c333..ac6e794 100644 (file)
@@ -28,6 +28,7 @@
 #include "config.h"
 #include "XSSAuditor.h"
 
+#include "CustomHeaderFields.h"
 #include "DecodeEscapeSequences.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index a250948..fb75d19 100644 (file)
@@ -33,6 +33,7 @@
 #include "InspectorInstrumentation.h"
 
 #include "CachedResource.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DOMWrapperWorld.h"
 #include "DocumentLoader.h"
index 4972460..b7eccb9 100644 (file)
@@ -27,6 +27,7 @@
 #include "InspectorApplicationCacheAgent.h"
 
 #include "ApplicationCacheHost.h"
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 #include "FrameLoader.h"
index 1ee3c13..97b86fc 100644 (file)
@@ -39,6 +39,7 @@
 #include "CachedResourceRequestInitiators.h"
 #include "CachedScript.h"
 #include "CertificateInfo.h"
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "DocumentThreadableLoader.h"
index f44f0fe..c6762e6 100644 (file)
@@ -36,6 +36,7 @@
 #include "CachedResourceLoader.h"
 #include "Cookie.h"
 #include "CookieJar.h"
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index 16b99e5..9a90abb 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "PageNetworkAgent.h"
 
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index bbbf7ba..612a420 100644 (file)
@@ -32,6 +32,7 @@
 #include "CachedResourceLoader.h"
 #include "CachedResourceRequest.h"
 #include "CachedResourceRequestInitiators.h"
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 
index a191f79..af88cd7 100644 (file)
@@ -47,6 +47,7 @@
 #include "ContentFilter.h"
 #include "ContentRuleListResults.h"
 #include "ContentSecurityPolicy.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DatabaseManager.h"
 #include "DiagnosticLoggingClient.h"
index a740c1f..480d356 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "LoadTiming.h"
 
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index d426ad1..95e105b 100644 (file)
@@ -29,6 +29,7 @@
 #include "config.h"
 #include "NetscapePlugInStreamLoader.h"
 
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "FrameLoader.h"
 #include "FrameLoaderClient.h"
index 8b66628..4e9cc30 100644 (file)
@@ -33,6 +33,7 @@
 #include "ApplicationCacheHost.h"
 #include "AuthenticationChallenge.h"
 #include "ContentRuleListResults.h"
+#include "CustomHeaderFields.h"
 #include "DataURLDecoder.h"
 #include "DiagnosticLoggingClient.h"
 #include "DiagnosticLoggingKeys.h"
index 36b06bb..e524d57 100644 (file)
@@ -32,6 +32,7 @@
 #include "CachedRawResource.h"
 #include "CachedResourceLoader.h"
 #include "CrossOriginAccessControl.h"
+#include "CustomHeaderFields.h"
 #include "DiagnosticLoggingClient.h"
 #include "DiagnosticLoggingKeys.h"
 #include "Document.h"
index d8a5ec6..91f0031 100644 (file)
@@ -30,6 +30,7 @@
 #include "ApplicationCacheGroup.h"
 #include "ApplicationCacheResource.h"
 #include "ContentSecurityPolicy.h"
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "DOMApplicationCache.h"
 #include "EventNames.h"
index a33a186..f97eb00 100644 (file)
@@ -30,6 +30,7 @@
 #include "LegacyWebArchive.h"
 
 #include "CachedResource.h"
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Editor.h"
index c80e098..1195c28 100644 (file)
@@ -30,6 +30,7 @@
 #include "CachedResourceLoader.h"
 #include "CachedResourceRequest.h"
 #include "CachedResourceRequestInitiators.h"
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index 1582575..85256af 100644 (file)
@@ -35,6 +35,7 @@
 #include "ContextMenuClient.h"
 #include "ContextMenuItem.h"
 #include "ContextMenuProvider.h"
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentFragment.h"
 #include "DocumentLoader.h"
index 10016c2..640fa17 100644 (file)
@@ -34,6 +34,7 @@
 #include "CachedResourceLoader.h"
 #include "Chrome.h"
 #include "ChromeClient.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DebugPageOverlays.h"
 #include "DeprecatedGlobalSettings.h"
index 6d0bdfd..7b27087 100644 (file)
@@ -35,6 +35,7 @@
 #include "ContextMenuClient.h"
 #include "ContextMenuController.h"
 #include "CookieJar.h"
+#include "CustomHeaderFields.h"
 #include "DOMRect.h"
 #include "DOMRectList.h"
 #include "DatabaseProvider.h"
index 57a2a39..6c15b3f 100644 (file)
@@ -33,6 +33,7 @@
 #include "config.h"
 #include "Performance.h"
 
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Event.h"
index 3dbdeb8..c2b529d 100644 (file)
@@ -31,6 +31,7 @@
 #include "config.h"
 #include "PerformanceNavigation.h"
 
+#include "CustomHeaderFields.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 #include "FrameLoader.h"
index fb98dee..de6d33e 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "Quirks.h"
 
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "HTMLMetaElement.h"
index 9eec9a6..19cb80e 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "UserContentProvider.h"
 
+#include "CustomHeaderFields.h"
 #include "Document.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
index 6136e42..47b932d 100644 (file)
@@ -34,6 +34,7 @@
 #include "ContentSecurityPolicyHash.h"
 #include "ContentSecurityPolicySource.h"
 #include "ContentSecurityPolicySourceList.h"
+#include "CustomHeaderFields.h"
 #include "DOMStringList.h"
 #include "Document.h"
 #include "DocumentLoader.h"
index e7ea4c9..d7adffd 100644 (file)
@@ -29,6 +29,7 @@
 #import "config.h"
 #import "Page.h"
 
+#import "CustomHeaderFields.h"
 #import "DocumentLoader.h"
 #import "Frame.h"
 #import "FrameLoader.h"
index 2899231..03a8b9e 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "MediaPlayerPrivateAVFoundation.h"
 
+#import "CustomHeaderFields.h"
 #include "DeprecatedGlobalSettings.h"
 #include "DocumentLoader.h"
 #include "FloatConversion.h"
index af4f1e1..b2db1a6 100644 (file)
@@ -31,6 +31,7 @@
 #include "CacheStorageProvider.h"
 #include "Chrome.h"
 #include "CommonVM.h"
+#include "CustomHeaderFields.h"
 #include "DOMWindow.h"
 #include "DocumentLoader.h"
 #include "EditorClient.h"
index ff682f7..2f79641 100644 (file)
@@ -52,6 +52,7 @@
 #include "ComposedTreeIterator.h"
 #include "CookieJar.h"
 #include "Cursor.h"
+#include "CustomHeaderFields.h"
 #include "DOMRect.h"
 #include "DOMRectList.h"
 #include "DOMStringList.h"