| Index: Source/web/WebSocketImpl.cpp
|
| diff --git a/Source/web/WebSocketImpl.cpp b/Source/web/WebSocketImpl.cpp
|
| index e4c2b85ff820cddf6fe658679bacf7951b144e11..9099dc95cbbc6c4864bb35e5d3ae22d22b41161e 100644
|
| --- a/Source/web/WebSocketImpl.cpp
|
| +++ b/Source/web/WebSocketImpl.cpp
|
| @@ -33,10 +33,8 @@
|
|
|
| #include "core/dom/Document.h"
|
| #include "core/frame/ConsoleTypes.h"
|
| -#include "modules/websockets/MainThreadWebSocketChannel.h"
|
| #include "modules/websockets/NewWebSocketChannelImpl.h"
|
| #include "modules/websockets/WebSocketChannel.h"
|
| -#include "platform/RuntimeEnabledFeatures.h"
|
| #include "public/platform/WebArrayBuffer.h"
|
| #include "public/platform/WebString.h"
|
| #include "public/platform/WebURL.h"
|
| @@ -57,11 +55,7 @@ WebSocketImpl::WebSocketImpl(const WebDocument& document, WebSocketClient* clien
|
| , m_bufferedAmountAfterClose(0)
|
| {
|
| RefPtrWillBeRawPtr<Document> coreDocument = PassRefPtrWillBeRawPtr<Document>(document);
|
| - if (RuntimeEnabledFeatures::experimentalWebSocketEnabled()) {
|
| - m_private = NewWebSocketChannelImpl::create(coreDocument.get(), m_channelProxy.get());
|
| - } else {
|
| - m_private = MainThreadWebSocketChannel::create(coreDocument.get(), m_channelProxy.get());
|
| - }
|
| + m_private = NewWebSocketChannelImpl::create(coreDocument.get(), m_channelProxy.get());
|
| }
|
|
|
| WebSocketImpl::~WebSocketImpl()
|
|
|