Index: Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp |
diff --git a/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp b/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp |
index 8c6fc933067d3dce209b515c2872d609c052ba36..bff654b5aa9fb9c9a4c39422db1ef44cc8059a22 100644 |
--- a/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp |
+++ b/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp |
@@ -43,7 +43,7 @@ |
#include "core/workers/WorkerGlobalScope.h" |
#include "core/workers/WorkerLoaderProxy.h" |
#include "core/workers/WorkerThread.h" |
-#include "modules/websockets/NewWebSocketChannelImpl.h" |
+#include "modules/websockets/DocumentWebSocketChannel.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebWaitableEvent.h" |
#include "wtf/ArrayBuffer.h" |
@@ -201,7 +201,7 @@ void Peer::initializeInternal(ExecutionContext* context, const String& sourceURL |
{ |
ASSERT(isMainThread()); |
Document* document = toDocument(context); |
- m_mainWebSocketChannel = NewWebSocketChannelImpl::create(document, this, sourceURL, lineNumber); |
+ m_mainWebSocketChannel = DocumentWebSocketChannel::create(document, this, sourceURL, lineNumber); |
m_syncHelper->signalWorkerThread(); |
} |