Title: [237103] trunk/Source
Revision
237103
Author
achristen...@apple.com
Date
2018-10-15 07:30:57 -0700 (Mon, 15 Oct 2018)

Log Message

Include EnumTraits.h less
https://bugs.webkit.org/show_bug.cgi?id=190535

Reviewed by Chris Dumez.

Source/_javascript_Core:

* runtime/ConsoleTypes.h:

Source/WebCore:

* Modules/applepay/ApplePaySessionPaymentRequest.h:
* Modules/applepay/PaymentAuthorizationStatus.h:
* Modules/applicationmanifest/ApplicationManifest.h:
* Modules/fetch/FetchHeaders.h:
* Modules/webauthn/AuthenticatorTransport.h:
* Modules/webauthn/PublicKeyCredentialType.h:
* loader/ShouldSkipSafeBrowsingCheck.h:
* loader/ShouldTreatAsContinuingLoad.h:
* platform/Cookie.h:
* platform/audio/AudioSession.h:
* platform/mediastream/CaptureDevice.h:
* platform/mediastream/MediaStreamRequest.h:
* platform/mediastream/RealtimeMediaSourceSettings.h:
* platform/mediastream/libwebrtc/LibWebRTCProvider.h:
* platform/network/NetworkLoadInformation.h:
* workers/service/ServiceWorkerClientType.h:
* workers/service/ServiceWorkerTypes.h:
* workers/service/ServiceWorkerUpdateViaCache.h:

Source/WebKit:

* NetworkProcess/NetworkSessionCreationParameters.h:
* Shared/Authentication/AuthenticationChallengeDisposition.h:
* Shared/CoordinateSystem.h:
* Shared/LayerTreeContext.h:
* Shared/UndoOrRedo.h:
* Shared/WebsiteAutoplayPolicy.h:
* Shared/WebsitePopUpPolicy.h:
* UIProcess/API/APIWebsitePolicies.h:
* WebProcess/UserContent/InjectUserScriptImmediately.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (237102 => 237103)


--- trunk/Source/_javascript_Core/ChangeLog	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-10-15 14:30:57 UTC (rev 237103)
@@ -1,3 +1,12 @@
+2018-10-15  Alex Christensen  <achristen...@webkit.org>
+
+        Include EnumTraits.h less
+        https://bugs.webkit.org/show_bug.cgi?id=190535
+
+        Reviewed by Chris Dumez.
+
+        * runtime/ConsoleTypes.h:
+
 2018-10-14  Mark Lam  <mark....@apple.com>
 
         Gardening: Build fix after r237084.

Modified: trunk/Source/_javascript_Core/runtime/ConsoleTypes.h (237102 => 237103)


--- trunk/Source/_javascript_Core/runtime/ConsoleTypes.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/_javascript_Core/runtime/ConsoleTypes.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace JSC {
 

Modified: trunk/Source/WebCore/ChangeLog (237102 => 237103)


--- trunk/Source/WebCore/ChangeLog	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/ChangeLog	2018-10-15 14:30:57 UTC (rev 237103)
@@ -1,5 +1,31 @@
 2018-10-15  Alex Christensen  <achristen...@webkit.org>
 
+        Include EnumTraits.h less
+        https://bugs.webkit.org/show_bug.cgi?id=190535
+
+        Reviewed by Chris Dumez.
+
+        * Modules/applepay/ApplePaySessionPaymentRequest.h:
+        * Modules/applepay/PaymentAuthorizationStatus.h:
+        * Modules/applicationmanifest/ApplicationManifest.h:
+        * Modules/fetch/FetchHeaders.h:
+        * Modules/webauthn/AuthenticatorTransport.h:
+        * Modules/webauthn/PublicKeyCredentialType.h:
+        * loader/ShouldSkipSafeBrowsingCheck.h:
+        * loader/ShouldTreatAsContinuingLoad.h:
+        * platform/Cookie.h:
+        * platform/audio/AudioSession.h:
+        * platform/mediastream/CaptureDevice.h:
+        * platform/mediastream/MediaStreamRequest.h:
+        * platform/mediastream/RealtimeMediaSourceSettings.h:
+        * platform/mediastream/libwebrtc/LibWebRTCProvider.h:
+        * platform/network/NetworkLoadInformation.h:
+        * workers/service/ServiceWorkerClientType.h:
+        * workers/service/ServiceWorkerTypes.h:
+        * workers/service/ServiceWorkerUpdateViaCache.h:
+
+2018-10-15  Alex Christensen  <achristen...@webkit.org>
+
         Remove InjectedBundle processing of back/forward lists
         https://bugs.webkit.org/show_bug.cgi?id=190459
 

Modified: trunk/Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h (237102 => 237103)


--- trunk/Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -28,7 +28,6 @@
 #if ENABLE(APPLE_PAY)
 
 #include "PaymentContact.h"
-#include <wtf/EnumTraits.h>
 #include <wtf/Optional.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>

Modified: trunk/Source/WebCore/Modules/applepay/PaymentAuthorizationStatus.h (237102 => 237103)


--- trunk/Source/WebCore/Modules/applepay/PaymentAuthorizationStatus.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/Modules/applepay/PaymentAuthorizationStatus.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -27,7 +27,7 @@
 
 #if ENABLE(APPLE_PAY)
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/Modules/applicationmanifest/ApplicationManifest.h (237102 => 237103)


--- trunk/Source/WebCore/Modules/applicationmanifest/ApplicationManifest.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/Modules/applicationmanifest/ApplicationManifest.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -28,7 +28,6 @@
 #if ENABLE(APPLICATION_MANIFEST)
 
 #include "URL.h"
-#include <wtf/EnumTraits.h>
 #include <wtf/Optional.h>
 
 namespace WebCore {

Modified: trunk/Source/WebCore/Modules/fetch/FetchHeaders.h (237102 => 237103)


--- trunk/Source/WebCore/Modules/fetch/FetchHeaders.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/Modules/fetch/FetchHeaders.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -30,7 +30,6 @@
 
 #include "ExceptionOr.h"
 #include "HTTPHeaderMap.h"
-#include <wtf/EnumTraits.h>
 #include <wtf/HashTraits.h>
 #include <wtf/Variant.h>
 #include <wtf/Vector.h>

Modified: trunk/Source/WebCore/Modules/webauthn/AuthenticatorTransport.h (237102 => 237103)


--- trunk/Source/WebCore/Modules/webauthn/AuthenticatorTransport.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/Modules/webauthn/AuthenticatorTransport.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -27,7 +27,7 @@
 
 #if ENABLE(WEB_AUTHN)
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/Modules/webauthn/PublicKeyCredentialType.h (237102 => 237103)


--- trunk/Source/WebCore/Modules/webauthn/PublicKeyCredentialType.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/Modules/webauthn/PublicKeyCredentialType.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -27,7 +27,7 @@
 
 #if ENABLE(WEB_AUTHN)
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/loader/ShouldSkipSafeBrowsingCheck.h (237102 => 237103)


--- trunk/Source/WebCore/loader/ShouldSkipSafeBrowsingCheck.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/loader/ShouldSkipSafeBrowsingCheck.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/loader/ShouldTreatAsContinuingLoad.h (237102 => 237103)


--- trunk/Source/WebCore/loader/ShouldTreatAsContinuingLoad.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/loader/ShouldTreatAsContinuingLoad.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/platform/Cookie.h (237102 => 237103)


--- trunk/Source/WebCore/platform/Cookie.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/platform/Cookie.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -27,7 +27,6 @@
 #pragma once
 
 #include "URL.h"
-#include <wtf/EnumTraits.h>
 #include <wtf/text/StringHash.h>
 #include <wtf/text/WTFString.h>
 

Modified: trunk/Source/WebCore/platform/audio/AudioSession.h (237102 => 237103)


--- trunk/Source/WebCore/platform/audio/AudioSession.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/platform/audio/AudioSession.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -23,13 +23,11 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AudioSession_h
-#define AudioSession_h
+#pragma once
 
 #if USE(AUDIO_SESSION)
 
 #include <memory>
-#include <wtf/EnumTraits.h>
 #include <wtf/HashSet.h>
 #include <wtf/NeverDestroyed.h>
 #include <wtf/Noncopyable.h>
@@ -112,5 +110,3 @@
 }
 
 #endif // USE(AUDIO_SESSION)
-
-#endif // AudioSession_h

Modified: trunk/Source/WebCore/platform/mediastream/CaptureDevice.h (237102 => 237103)


--- trunk/Source/WebCore/platform/mediastream/CaptureDevice.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/platform/mediastream/CaptureDevice.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,6 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {

Modified: trunk/Source/WebCore/platform/mediastream/MediaStreamRequest.h (237102 => 237103)


--- trunk/Source/WebCore/platform/mediastream/MediaStreamRequest.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/platform/mediastream/MediaStreamRequest.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,8 +25,6 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
-
 #if ENABLE(MEDIA_STREAM)
 
 #include "MediaConstraints.h"

Modified: trunk/Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.h (237102 => 237103)


--- trunk/Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -23,13 +23,11 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef RealtimeMediaSourceSettings_h
-#define RealtimeMediaSourceSettings_h
+#pragma once
 
 #if ENABLE(MEDIA_STREAM)
 
 #include "RealtimeMediaSourceSupportedConstraints.h"
-#include <wtf/EnumTraits.h>
 #include <wtf/OptionSet.h>
 #include <wtf/RefCounted.h>
 #include <wtf/Vector.h>
@@ -210,6 +208,4 @@
 
 }
 
-#endif // RealtimeMediaSourceSettings_h
-
 #endif

Modified: trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.h (237102 => 237103)


--- trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -28,7 +28,6 @@
 #include "LibWebRTCMacros.h"
 #include <pal/SessionID.h>
 #include <wtf/CompletionHandler.h>
-#include <wtf/EnumTraits.h>
 #include <wtf/Expected.h>
 #include <wtf/UniqueRef.h>
 #include <wtf/text/WTFString.h>

Modified: trunk/Source/WebCore/platform/network/NetworkLoadInformation.h (237102 => 237103)


--- trunk/Source/WebCore/platform/network/NetworkLoadInformation.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/platform/network/NetworkLoadInformation.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -28,7 +28,6 @@
 #include "NetworkLoadMetrics.h"
 #include "ResourceRequest.h"
 #include "ResourceResponse.h"
-#include <wtf/EnumTraits.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {

Modified: trunk/Source/WebCore/workers/service/ServiceWorkerClientType.h (237102 => 237103)


--- trunk/Source/WebCore/workers/service/ServiceWorkerClientType.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/workers/service/ServiceWorkerClientType.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -27,7 +27,7 @@
 
 #if ENABLE(SERVICE_WORKER)
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebCore/workers/service/ServiceWorkerTypes.h (237102 => 237103)


--- trunk/Source/WebCore/workers/service/ServiceWorkerTypes.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/workers/service/ServiceWorkerTypes.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -29,7 +29,6 @@
 
 #include "DocumentIdentifier.h"
 #include "ServiceWorkerIdentifier.h"
-#include <wtf/EnumTraits.h>
 #include <wtf/ObjectIdentifier.h>
 #include <wtf/Variant.h>
 

Modified: trunk/Source/WebCore/workers/service/ServiceWorkerUpdateViaCache.h (237102 => 237103)


--- trunk/Source/WebCore/workers/service/ServiceWorkerUpdateViaCache.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebCore/workers/service/ServiceWorkerUpdateViaCache.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -27,7 +27,7 @@
 
 #if ENABLE(SERVICE_WORKER)
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 

Modified: trunk/Source/WebKit/ChangeLog (237102 => 237103)


--- trunk/Source/WebKit/ChangeLog	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/ChangeLog	2018-10-15 14:30:57 UTC (rev 237103)
@@ -1,5 +1,22 @@
 2018-10-15  Alex Christensen  <achristen...@webkit.org>
 
+        Include EnumTraits.h less
+        https://bugs.webkit.org/show_bug.cgi?id=190535
+
+        Reviewed by Chris Dumez.
+
+        * NetworkProcess/NetworkSessionCreationParameters.h:
+        * Shared/Authentication/AuthenticationChallengeDisposition.h:
+        * Shared/CoordinateSystem.h:
+        * Shared/LayerTreeContext.h:
+        * Shared/UndoOrRedo.h:
+        * Shared/WebsiteAutoplayPolicy.h:
+        * Shared/WebsitePopUpPolicy.h:
+        * UIProcess/API/APIWebsitePolicies.h:
+        * WebProcess/UserContent/InjectUserScriptImmediately.h:
+
+2018-10-15  Alex Christensen  <achristen...@webkit.org>
+
         Remove InjectedBundle processing of back/forward lists
         https://bugs.webkit.org/show_bug.cgi?id=190459
 

Modified: trunk/Source/WebKit/NetworkProcess/NetworkSessionCreationParameters.h (237102 => 237103)


--- trunk/Source/WebKit/NetworkProcess/NetworkSessionCreationParameters.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/NetworkProcess/NetworkSessionCreationParameters.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -27,7 +27,6 @@
 
 #include "ArgumentCoders.h"
 #include <pal/SessionID.h>
-#include <wtf/EnumTraits.h>
 #include <wtf/text/WTFString.h>
 
 #if PLATFORM(COCOA)

Modified: trunk/Source/WebKit/Shared/Authentication/AuthenticationChallengeDisposition.h (237102 => 237103)


--- trunk/Source/WebKit/Shared/Authentication/AuthenticationChallengeDisposition.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/Shared/Authentication/AuthenticationChallengeDisposition.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebKit {
 

Modified: trunk/Source/WebKit/Shared/CoordinateSystem.h (237102 => 237103)


--- trunk/Source/WebKit/Shared/CoordinateSystem.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/Shared/CoordinateSystem.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebKit {
 

Modified: trunk/Source/WebKit/Shared/LayerTreeContext.h (237102 => 237103)


--- trunk/Source/WebKit/Shared/LayerTreeContext.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/Shared/LayerTreeContext.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -26,7 +26,7 @@
 #pragma once
 
 #include <stdint.h>
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace IPC {
 class Decoder;

Modified: trunk/Source/WebKit/Shared/UndoOrRedo.h (237102 => 237103)


--- trunk/Source/WebKit/Shared/UndoOrRedo.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/Shared/UndoOrRedo.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebKit {
 

Modified: trunk/Source/WebKit/Shared/WebsiteAutoplayPolicy.h (237102 => 237103)


--- trunk/Source/WebKit/Shared/WebsiteAutoplayPolicy.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/Shared/WebsiteAutoplayPolicy.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebKit {
     

Modified: trunk/Source/WebKit/Shared/WebsitePopUpPolicy.h (237102 => 237103)


--- trunk/Source/WebKit/Shared/WebsitePopUpPolicy.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/Shared/WebsitePopUpPolicy.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebKit {
 

Modified: trunk/Source/WebKit/UIProcess/API/APIWebsitePolicies.h (237102 => 237103)


--- trunk/Source/WebKit/UIProcess/API/APIWebsitePolicies.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/UIProcess/API/APIWebsitePolicies.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -30,7 +30,6 @@
 #include "WebsiteAutoplayQuirk.h"
 #include "WebsitePopUpPolicy.h"
 #include <WebCore/HTTPHeaderField.h>
-#include <wtf/EnumTraits.h>
 #include <wtf/OptionSet.h>
 #include <wtf/Optional.h>
 #include <wtf/Vector.h>

Modified: trunk/Source/WebKit/WebProcess/UserContent/InjectUserScriptImmediately.h (237102 => 237103)


--- trunk/Source/WebKit/WebProcess/UserContent/InjectUserScriptImmediately.h	2018-10-15 14:29:53 UTC (rev 237102)
+++ trunk/Source/WebKit/WebProcess/UserContent/InjectUserScriptImmediately.h	2018-10-15 14:30:57 UTC (rev 237103)
@@ -25,7 +25,7 @@
 
 #pragma once
 
-#include <wtf/EnumTraits.h>
+#include <wtf/Forward.h>
 
 namespace WebKit {
     
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to