diff --git a/netwerk/protocol/websocket/WebSocketChannel.cpp b/netwerk/protocol/websocket/WebSocketChannel.cpp index 4b087a8bf2..9fca09a087 100644 --- a/netwerk/protocol/websocket/WebSocketChannel.cpp +++ b/netwerk/protocol/websocket/WebSocketChannel.cpp @@ -520,7 +520,7 @@ private: ~nsOpenConn() { MOZ_COUNT_DTOR(nsOpenConn); } nsCString mAddress; - WebSocketChannel *mChannel; + RefPtr mChannel; }; void ConnectNext(nsCString &hostName)