Backed out changeset 2284c3e8c336 (bug 1215092)
This commit is contained in:
@@ -1138,6 +1138,8 @@ NS_IMPL_ISUPPORTS(OutboundEnqueuer, nsIRunnable)
|
||||
// WebSocketChannel
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
uint32_t WebSocketChannel::sSerialSeed = 0;
|
||||
|
||||
WebSocketChannel::WebSocketChannel() :
|
||||
mPort(0),
|
||||
mCloseTimeout(20000),
|
||||
@@ -1192,6 +1194,8 @@ WebSocketChannel::WebSocketChannel() :
|
||||
if (NS_FAILED(rv))
|
||||
LOG(("Failed to initiate dashboard service."));
|
||||
|
||||
mSerial = sSerialSeed++;
|
||||
|
||||
mService = WebSocketEventService::GetOrCreate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user