Backout eab6f9c125cc (bug 1211694) to see if it fixes the crashes reported in bug 1213979. a=me

This commit is contained in:
Ryan VanderMeulen 2015-10-12 18:04:55 -04:00
parent 73b1393d3e
commit ccd93aa6ab

View File

@ -615,7 +615,7 @@ Http2Stream::GenerateOpen()
messageSize += Http2Session::kFrameHeaderBytes + 5; // frame header + priority overhead in HEADERS frame
messageSize += (numFrames - 1) * Http2Session::kFrameHeaderBytes; // frame header overhead in CONTINUATION frames
EnsureBuffer(mTxInlineFrame, messageSize,
EnsureBuffer(mTxInlineFrame, dataLength + messageSize,
mTxInlineFrameUsed, mTxInlineFrameSize);
mTxInlineFrameUsed += messageSize;