Unreviewed, rolling out r226600 and r226603
[WebKit-https.git] / Source / WebCore / page / RuntimeEnabledFeatures.cpp
index 8820231..def1188 100644 (file)
@@ -33,7 +33,7 @@
 #include "RuntimeEnabledFeatures.h"
 
 #include "MediaPlayer.h"
-#include "WebSocket.h"
+#include <wtf/NeverDestroyed.h>
 
 namespace WebCore {
 
@@ -58,11 +58,4 @@ bool RuntimeEnabledFeatures::audioEnabled() const
 }
 #endif
 
-#if ENABLE(WEB_SOCKETS)
-bool RuntimeEnabledFeatures::webSocketEnabled() const
-{
-    return WebSocket::isAvailable();
-}
-#endif
-
 } // namespace WebCore