Cleanup RuntimeEnabledFeatures includes
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Oct 2019 05:07:02 +0000 (05:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Oct 2019 05:07:02 +0000 (05:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=202857

Patch by Rob Buis <rbuis@igalia.com> on 2019-10-11
Reviewed by Eric Carlson.

These classes must have had made use of runtime flags before
but are not using them anymore.

Source/WebCore:

* Modules/mediastream/MediaDevices.cpp:
* Modules/mediastream/RTCRtpSender.cpp:
* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
* Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp:
* accessibility/AccessibilityObject.cpp:
* css/CSSComputedStyleDeclaration.cpp:
* css/MediaQueryEvaluator.cpp:
* css/MediaQueryExpression.cpp:
* css/parser/CSSParser.cpp:
* dom/ContainerNode.cpp:
* dom/EventTarget.cpp:
* dom/Position.cpp:
* dom/PseudoElement.cpp:
* dom/TreeScope.cpp:
* dom/ViewportArguments.cpp:
* history/CachedFrame.cpp:
* html/HTMLPlugInElement.cpp:
* html/HTMLStyleElement.cpp:
* html/HTMLTrackElement.cpp:
* inspector/agents/InspectorNetworkAgent.cpp:
* loader/ResourceLoadNotifier.cpp:
* page/DOMWindow.cpp:
* page/EventHandler.cpp:
* page/PointerLockController.cpp:
* page/csp/ContentSecurityPolicy.cpp:
* page/scrolling/ScrollingCoordinator.cpp:
* platform/mediastream/mac/RealtimeMediaSourceCenterMac.cpp:
* rendering/RenderFlexibleBox.cpp:
* rendering/style/RenderStyle.cpp:
* rendering/updating/RenderTreeUpdater.cpp:

Source/WebKit:

* NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:
* UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
* UIProcess/WebAuthentication/Cocoa/LocalService.mm:
* UIProcess/WebProcessPool.cpp:

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

36 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/MediaDevices.cpp
Source/WebCore/Modules/mediastream/RTCRtpSender.cpp
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp
Source/WebCore/accessibility/AccessibilityObject.cpp
Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Source/WebCore/css/MediaQueryEvaluator.cpp
Source/WebCore/css/MediaQueryExpression.cpp
Source/WebCore/css/parser/CSSParser.cpp
Source/WebCore/dom/ContainerNode.cpp
Source/WebCore/dom/EventTarget.cpp
Source/WebCore/dom/Position.cpp
Source/WebCore/dom/PseudoElement.cpp
Source/WebCore/dom/TreeScope.cpp
Source/WebCore/dom/ViewportArguments.cpp
Source/WebCore/history/CachedFrame.cpp
Source/WebCore/html/HTMLPlugInElement.cpp
Source/WebCore/html/HTMLStyleElement.cpp
Source/WebCore/html/HTMLTrackElement.cpp
Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
Source/WebCore/loader/ResourceLoadNotifier.cpp
Source/WebCore/page/DOMWindow.cpp
Source/WebCore/page/EventHandler.cpp
Source/WebCore/page/PointerLockController.cpp
Source/WebCore/page/csp/ContentSecurityPolicy.cpp
Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
Source/WebCore/platform/mediastream/mac/RealtimeMediaSourceCenterMac.cpp
Source/WebCore/rendering/RenderFlexibleBox.cpp
Source/WebCore/rendering/style/RenderStyle.cpp
Source/WebCore/rendering/updating/RenderTreeUpdater.cpp
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp
Source/WebKit/UIProcess/Plugins/mac/PluginInfoStoreMac.mm
Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalService.mm
Source/WebKit/UIProcess/WebProcessPool.cpp

index ff2bad8..9476017 100644 (file)
@@ -1,3 +1,44 @@
+2019-10-11  Rob Buis  <rbuis@igalia.com>
+
+        Cleanup RuntimeEnabledFeatures includes
+        https://bugs.webkit.org/show_bug.cgi?id=202857
+
+        Reviewed by Eric Carlson.
+
+        These classes must have had made use of runtime flags before
+        but are not using them anymore.
+
+        * Modules/mediastream/MediaDevices.cpp:
+        * Modules/mediastream/RTCRtpSender.cpp:
+        * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
+        * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp:
+        * accessibility/AccessibilityObject.cpp:
+        * css/CSSComputedStyleDeclaration.cpp:
+        * css/MediaQueryEvaluator.cpp:
+        * css/MediaQueryExpression.cpp:
+        * css/parser/CSSParser.cpp:
+        * dom/ContainerNode.cpp:
+        * dom/EventTarget.cpp:
+        * dom/Position.cpp:
+        * dom/PseudoElement.cpp:
+        * dom/TreeScope.cpp:
+        * dom/ViewportArguments.cpp:
+        * history/CachedFrame.cpp:
+        * html/HTMLPlugInElement.cpp:
+        * html/HTMLStyleElement.cpp:
+        * html/HTMLTrackElement.cpp:
+        * inspector/agents/InspectorNetworkAgent.cpp:
+        * loader/ResourceLoadNotifier.cpp:
+        * page/DOMWindow.cpp:
+        * page/EventHandler.cpp:
+        * page/PointerLockController.cpp:
+        * page/csp/ContentSecurityPolicy.cpp:
+        * page/scrolling/ScrollingCoordinator.cpp:
+        * platform/mediastream/mac/RealtimeMediaSourceCenterMac.cpp:
+        * rendering/RenderFlexibleBox.cpp:
+        * rendering/style/RenderStyle.cpp:
+        * rendering/updating/RenderTreeUpdater.cpp:
+
 2019-10-11  Chris Dumez  <cdumez@apple.com>
 
         Add [ActiveDOMObject] to IDLs of ActiveDOMObjects
index c5652ce..06f1754 100644 (file)
@@ -41,7 +41,6 @@
 #include "JSMediaDeviceInfo.h"
 #include "MediaTrackSupportedConstraints.h"
 #include "RealtimeMediaSourceSettings.h"
-#include "RuntimeEnabledFeatures.h"
 #include "UserMediaController.h"
 #include "UserMediaRequest.h"
 #include <wtf/IsoMallocInlines.h>
index aa89e7b..e69a71a 100644 (file)
@@ -38,7 +38,6 @@
 #include "RTCDTMFSenderBackend.h"
 #include "RTCRtpCapabilities.h"
 #include "RTCRtpTransceiver.h"
-#include "RuntimeEnabledFeatures.h"
 #include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
index dca71ed..85d216f 100644 (file)
@@ -45,7 +45,6 @@
 #include "RealtimeIncomingVideoSource.h"
 #include "RealtimeOutgoingAudioSource.h"
 #include "RealtimeOutgoingVideoSource.h"
-#include "RuntimeEnabledFeatures.h"
 #include "Settings.h"
 
 namespace WebCore {
index 2f21f7d..53333cb 100644 (file)
@@ -33,7 +33,6 @@
 #include "LibWebRTCUtils.h"
 #include "RTCPeerConnection.h"
 #include "RTCRtpSender.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScriptExecutionContext.h"
 
 namespace WebCore {
index d4a1148..e8aa69b 100644 (file)
@@ -73,7 +73,6 @@
 #include "RenderView.h"
 #include "RenderWidget.h"
 #include "RenderedPosition.h"
-#include "RuntimeEnabledFeatures.h"
 #include "Settings.h"
 #include "TextCheckerClient.h"
 #include "TextCheckingHelper.h"
index 922eed7..b2c2b41 100644 (file)
@@ -64,7 +64,6 @@
 #include "RenderBox.h"
 #include "RenderInline.h"
 #include "RenderStyle.h"
-#include "RuntimeEnabledFeatures.h"
 #include "SVGElement.h"
 #include "Settings.h"
 #include "ShapeValue.h"
index ac56f8a..f0c2c1f 100644 (file)
@@ -45,7 +45,6 @@
 #include "PlatformScreen.h"
 #include "RenderStyle.h"
 #include "RenderView.h"
-#include "RuntimeEnabledFeatures.h"
 #include "Settings.h"
 #include "StyleResolver.h"
 #include "Theme.h"
index cd81ff3..76ffac9 100644 (file)
@@ -33,7 +33,6 @@
 #include "CSSPropertyParserHelpers.h"
 #include "MediaFeatureNames.h"
 #include "MediaQueryParserContext.h"
-#include "RuntimeEnabledFeatures.h"
 #include <wtf/text/TextStream.h>
 #include <wtf/text/StringBuilder.h>
 
index a68d55b..d64ffeb 100644 (file)
@@ -44,7 +44,6 @@
 #include "Page.h"
 #include "RenderStyle.h"
 #include "RenderTheme.h"
-#include "RuntimeEnabledFeatures.h"
 #include "Settings.h"
 #include "StyleColor.h"
 #include "StyleResolver.h"
index 35470f2..1d12861 100644 (file)
@@ -52,7 +52,6 @@
 #include "RenderTreeUpdater.h"
 #include "RenderWidget.h"
 #include "RootInlineBox.h"
-#include "RuntimeEnabledFeatures.h"
 #include "SVGDocumentExtensions.h"
 #include "SVGElement.h"
 #include "SVGNames.h"
index 288cfb7..fe6ef86 100644 (file)
@@ -39,7 +39,6 @@
 #include "InspectorInstrumentation.h"
 #include "JSEventListener.h"
 #include "JSLazyEventListener.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScriptController.h"
 #include "ScriptDisallowedScope.h"
 #include "Settings.h"
index 848efd1..3486957 100644 (file)
@@ -48,7 +48,6 @@
 #include "RenderIterator.h"
 #include "RenderLineBreak.h"
 #include "RenderText.h"
-#include "RuntimeEnabledFeatures.h"
 #include "Text.h"
 #include "TextIterator.h"
 #include "VisiblePosition.h"
index 1519778..ddb0bc2 100644 (file)
@@ -35,7 +35,6 @@
 #include "RenderElement.h"
 #include "RenderImage.h"
 #include "RenderQuote.h"
-#include "RuntimeEnabledFeatures.h"
 #include "StyleResolver.h"
 #include <wtf/IsoMallocInlines.h>
 
index 72097f4..21b15d5 100644 (file)
@@ -46,7 +46,6 @@
 #include "PseudoElement.h"
 #include "RadioButtonGroups.h"
 #include "RenderView.h"
-#include "RuntimeEnabledFeatures.h"
 #include "Settings.h"
 #include "ShadowRoot.h"
 #include <wtf/text/CString.h>
index cc63d96..73df94c 100644 (file)
@@ -31,7 +31,6 @@
 #include "Document.h"
 #include "Frame.h"
 #include "IntSize.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScriptableDocumentParser.h"
 #include "Settings.h"
 #include <wtf/text/TextStream.h>
index 5c8f18e..df78c03 100644 (file)
@@ -43,7 +43,6 @@
 #include "Page.h"
 #include "PageCache.h"
 #include "RenderWidget.h"
-#include "RuntimeEnabledFeatures.h"
 #include "SVGDocumentExtensions.h"
 #include "ScriptController.h"
 #include "SerializedScriptValue.h"
index 2918213..4f032a1 100644 (file)
@@ -44,7 +44,6 @@
 #include "RenderSnapshottedPlugIn.h"
 #include "RenderView.h"
 #include "RenderWidget.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScriptController.h"
 #include "Settings.h"
 #include "ShadowRoot.h"
index 5eb6371..edae2ed 100644 (file)
@@ -32,7 +32,6 @@
 #include "HTMLNames.h"
 #include "MediaList.h"
 #include "MediaQueryParser.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScriptableDocumentParser.h"
 #include "ShadowRoot.h"
 #include "StyleScope.h"
index ae7d80c..74c2b0a 100644 (file)
@@ -35,7 +35,6 @@
 #include "HTMLMediaElement.h"
 #include "HTMLNames.h"
 #include "Logging.h"
-#include "RuntimeEnabledFeatures.h"
 #include <wtf/IsoMallocInlines.h>
 #include <wtf/text/CString.h>
 
index e924b48..0283a82 100644 (file)
@@ -63,7 +63,6 @@
 #include "ResourceLoader.h"
 #include "ResourceRequest.h"
 #include "ResourceResponse.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScriptState.h"
 #include "ScriptableDocumentParser.h"
 #include "SubresourceLoader.h"
index 63a4e91..812e274 100644 (file)
@@ -39,7 +39,6 @@
 #include "Page.h"
 #include "ProgressTracker.h"
 #include "ResourceLoader.h"
-#include "RuntimeEnabledFeatures.h"
 
 #if USE(QUICK_LOOK)
 #include "QuickLook.h"
index 4870728..4c571eb 100644 (file)
@@ -88,7 +88,6 @@
 #include "ResourceLoadInfo.h"
 #include "ResourceLoadObserver.h"
 #include "RuntimeApplicationChecks.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScheduledAction.h"
 #include "Screen.h"
 #include "SecurityOrigin.h"
index 0af28d6..b9ef9ee 100644 (file)
 #include "PointerLockController.h"
 #endif
 
-#if ENABLE(POINTER_EVENTS)
-#include "RuntimeEnabledFeatures.h"
-#endif
-
 #if PLATFORM(IOS_FAMILY)
 #include "DOMTimerHoldingTank.h"
 #endif
index a3913a4..2fda513 100644 (file)
@@ -34,7 +34,6 @@
 #include "EventNames.h"
 #include "Page.h"
 #include "PlatformMouseEvent.h"
-#include "RuntimeEnabledFeatures.h"
 #include "UserGestureIndicator.h"
 #include "VoidCallback.h"
 
index ae31106..19f031e 100644 (file)
@@ -49,7 +49,6 @@
 #include "ParsingUtilities.h"
 #include "PingLoader.h"
 #include "ResourceRequest.h"
-#include "RuntimeEnabledFeatures.h"
 #include "SecurityOrigin.h"
 #include "SecurityPolicyViolationEvent.h"
 #include "Settings.h"
index d11aec5..85cfc5e 100644 (file)
@@ -38,7 +38,6 @@
 #include "Region.h"
 #include "RenderLayerCompositor.h"
 #include "RenderView.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScrollAnimator.h"
 #include "Settings.h"
 #include <wtf/MainThread.h>
index a328cd3..a6a0dab 100644 (file)
@@ -38,7 +38,6 @@
 #include "DisplayCaptureManagerCocoa.h"
 #include "Logging.h"
 #include "MediaStreamPrivate.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScreenDisplayCaptureSourceMac.h"
 #include "WindowDisplayCaptureSourceMac.h"
 #include <wtf/MainThread.h>
index c3c0496..6485a69 100644 (file)
@@ -37,7 +37,6 @@
 #include "RenderLayer.h"
 #include "RenderLayoutState.h"
 #include "RenderView.h"
-#include "RuntimeEnabledFeatures.h"
 #include <limits>
 #include <wtf/IsoMallocInlines.h>
 #include <wtf/MathExtras.h>
index fb43c20..ccef75a 100644 (file)
@@ -38,7 +38,6 @@
 #include "QuotesData.h"
 #include "RenderObject.h"
 #include "RenderTheme.h"
-#include "RuntimeEnabledFeatures.h"
 #include "ScaleTransformOperation.h"
 #include "ShadowData.h"
 #include "StyleBuilderConverter.h"
index b9d207f..c0d12ea 100644 (file)
@@ -45,7 +45,6 @@
 #include "RenderMultiColumnFlow.h"
 #include "RenderMultiColumnSet.h"
 #include "RenderTreeUpdaterGeneratedContent.h"
-#include "RuntimeEnabledFeatures.h"
 #include "StyleResolver.h"
 #include "StyleTreeResolver.h"
 #include <wtf/SystemTracing.h>
index c4c5b1a..f12aee0 100644 (file)
@@ -1,3 +1,18 @@
+2019-10-11  Rob Buis  <rbuis@igalia.com>
+
+        Cleanup RuntimeEnabledFeatures includes
+        https://bugs.webkit.org/show_bug.cgi?id=202857
+
+        Reviewed by Eric Carlson.
+
+        These classes must have had made use of runtime flags before
+        but are not using them anymore.
+
+        * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:
+        * UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
+        * UIProcess/WebAuthentication/Cocoa/LocalService.mm:
+        * UIProcess/WebProcessPool.cpp:
+
 2019-10-11  Chris Dumez  <cdumez@apple.com>
 
         Move SuspendedPage logic from WebProcessPool to new WebBackForwardCache class
index 8f35745..cb7e859 100644 (file)
@@ -50,7 +50,6 @@
 #include <WebCore/DocumentStorageAccess.h>
 #include <WebCore/NetworkStorageSession.h>
 #include <WebCore/ResourceLoadStatistics.h>
-#include <WebCore/RuntimeEnabledFeatures.h>
 #include <WebCore/SQLiteDatabase.h>
 #include <WebCore/SQLiteStatement.h>
 #include <wtf/CallbackAggregator.h>
index c6a044a..fff8e25 100644 (file)
@@ -32,7 +32,6 @@
 #import "NetscapePluginModule.h"
 #import "SandboxUtilities.h"
 #import <WebCore/PluginBlacklist.h>
-#import <WebCore/RuntimeEnabledFeatures.h>
 #import <pwd.h>
 #import <wtf/HashSet.h>
 #import <wtf/RetainPtr.h>
index af2fa47..26fc925 100644 (file)
@@ -30,7 +30,6 @@
 
 #import "LocalAuthenticator.h"
 #import "LocalConnection.h"
-#import <WebCore/RuntimeEnabledFeatures.h>
 
 #import "LocalAuthenticationSoftLink.h"
 
index 30557a6..8408a6e 100644 (file)
@@ -90,7 +90,6 @@
 #include <WebCore/RegistrationDatabase.h>
 #include <WebCore/ResourceRequest.h>
 #include <WebCore/RuntimeApplicationChecks.h>
-#include <WebCore/RuntimeEnabledFeatures.h>
 #include <pal/SessionID.h>
 #include <wtf/Language.h>
 #include <wtf/MainThread.h>