Unreviewed, rolling out r226600 and r226603
[WebKit-https.git] / Source / WebCore / page / RuntimeEnabledFeatures.cpp
index e3956f1..def1188 100644 (file)
@@ -33,7 +33,7 @@
 #include "RuntimeEnabledFeatures.h"
 
 #include "MediaPlayer.h"
-#include "WebSocket.h"
+#include <wtf/NeverDestroyed.h>
 
 namespace WebCore {
 
@@ -56,43 +56,6 @@ bool RuntimeEnabledFeatures::audioEnabled() const
 {
     return MediaPlayer::isAvailable();
 }
-
-bool RuntimeEnabledFeatures::htmlMediaElementEnabled() const
-{
-    return MediaPlayer::isAvailable();
-}
-
-bool RuntimeEnabledFeatures::htmlVideoElementEnabled() const
-{
-    return MediaPlayer::isAvailable();
-}
-
-bool RuntimeEnabledFeatures::htmlSourceElementEnabled() const
-{
-    return MediaPlayer::isAvailable();
-}
-
-bool RuntimeEnabledFeatures::mediaControllerEnabled() const
-{
-    return MediaPlayer::isAvailable();
-}
-
-bool RuntimeEnabledFeatures::mediaErrorEnabled() const
-{
-    return MediaPlayer::isAvailable();
-}
-
-bool RuntimeEnabledFeatures::timeRangesEnabled() const
-{
-    return MediaPlayer::isAvailable();
-}
-#endif
-
-#if ENABLE(WEB_SOCKETS)
-bool RuntimeEnabledFeatures::webSocketEnabled() const
-{
-    return WebSocket::isAvailable();
-}
 #endif
 
 } // namespace WebCore