Index: Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
diff --git a/Source/modules/websockets/WorkerThreadableWebSocketChannel.h b/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
index 2f8a207104716df92940eda0dab75baf21b5b306..b5eca7a1872a43ce620b25f192f8f24e87946e89 100644 |
--- a/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
+++ b/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
@@ -57,7 +57,7 @@ class WorkerThreadableWebSocketChannel FINAL : public WebSocketChannel { |
public: |
static WebSocketChannel* create(WorkerGlobalScope& workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) |
{ |
- return adoptRefCountedGarbageCollected(new WorkerThreadableWebSocketChannel(workerGlobalScope, client, sourceURL, lineNumber)); |
+ return new WorkerThreadableWebSocketChannel(workerGlobalScope, client, sourceURL, lineNumber); |
} |
virtual ~WorkerThreadableWebSocketChannel(); |