summaryrefslogtreecommitdiff
path: root/netwerk/protocol/websocket/WebSocketChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/protocol/websocket/WebSocketChannel.h')
-rw-r--r--netwerk/protocol/websocket/WebSocketChannel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/netwerk/protocol/websocket/WebSocketChannel.h b/netwerk/protocol/websocket/WebSocketChannel.h
index 879027b2ad..691de4102c 100644
--- a/netwerk/protocol/websocket/WebSocketChannel.h
+++ b/netwerk/protocol/websocket/WebSocketChannel.h
@@ -18,6 +18,7 @@
#include "nsIChannelEventSink.h"
#include "nsIHttpChannelInternal.h"
#include "nsIStringStream.h"
+#include "mozilla/Mutex.h"
#include "BaseWebSocketChannel.h"
#include "nsCOMPtr.h"
@@ -288,6 +289,7 @@ private:
uint32_t mHdrOutToSend;
uint8_t *mHdrOut;
uint8_t mOutHeader[kCopyBreak + 16];
+ Mutex mCompressorMutex;
nsAutoPtr<PMCECompression> mPMCECompressor;
uint32_t mDynamicOutputSize;
uint8_t *mDynamicOutput;