| Index: Source/modules/websockets/WorkerThreadableWebSocketChannel.h
|
| diff --git a/Source/modules/websockets/WorkerThreadableWebSocketChannel.h b/Source/modules/websockets/WorkerThreadableWebSocketChannel.h
|
| index 8046aeb7f090d3379691a177567b453f96fa9bbf..0728634831b6bccabe6d18c75b73c131b0f564cd 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();
|
|
|
|
|