Index: Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
diff --git a/Source/modules/websockets/WorkerThreadableWebSocketChannel.h b/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
index a388fcf2423997ac4d1a502141f12d096714fa84..2c147b409e85abee5c54c4c2180302bbda096b6b 100644 |
--- a/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
+++ b/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
@@ -64,7 +64,7 @@ class WorkerRunLoop; |
class WorkerThreadableWebSocketChannel FINAL : public RefCounted<WorkerThreadableWebSocketChannel>, public WebSocketChannel { |
WTF_MAKE_FAST_ALLOCATED; |
public: |
- static PassRefPtr<WebSocketChannel> create(WorkerGlobalScope* workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) |
+ static PassRefPtr<WebSocketChannel> create(WorkerGlobalScope& workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) |
{ |
return adoptRef(new WorkerThreadableWebSocketChannel(workerGlobalScope, client, sourceURL, lineNumber)); |
} |
@@ -181,7 +181,7 @@ private: |
WeakPtr<Peer> m_peer; |
}; |
- WorkerThreadableWebSocketChannel(WorkerGlobalScope*, WebSocketChannelClient*, const String& sourceURL, unsigned lineNumber); |
+ WorkerThreadableWebSocketChannel(WorkerGlobalScope&, WebSocketChannelClient*, const String& sourceURL, unsigned lineNumber); |
RefPtrWillBePersistent<WorkerGlobalScope> m_workerGlobalScope; |
RefPtr<ThreadableWebSocketChannelClientWrapper> m_workerClientWrapper; |