Index: Source/modules/websockets/WebSocketChannel.cpp |
diff --git a/Source/modules/websockets/WebSocketChannel.cpp b/Source/modules/websockets/WebSocketChannel.cpp |
index 305346a8cdc1ee5ce8fbfe5daba6c395dbd84c09..4cc0ee1ef14eb628fb6905187e44ef1a15bc9b93 100644 |
--- a/Source/modules/websockets/WebSocketChannel.cpp |
+++ b/Source/modules/websockets/WebSocketChannel.cpp |
@@ -63,7 +63,7 @@ PassRefPtr<WebSocketChannel> WebSocketChannel::create(ExecutionContext* context, |
if (context->isWorkerGlobalScope()) { |
WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); |
- return WorkerThreadableWebSocketChannel::create(workerGlobalScope, client, sourceURL, lineNumber); |
+ return WorkerThreadableWebSocketChannel::create(*workerGlobalScope, client, sourceURL, lineNumber); |
} |
Document* document = toDocument(context); |