summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_network_transaction_spdy2_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_network_transaction_spdy2_unittest.cc')
-rw-r--r--net/spdy/spdy_network_transaction_spdy2_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/spdy/spdy_network_transaction_spdy2_unittest.cc b/net/spdy/spdy_network_transaction_spdy2_unittest.cc
index 5ef07c4..910e1a1 100644
--- a/net/spdy/spdy_network_transaction_spdy2_unittest.cc
+++ b/net/spdy/spdy_network_transaction_spdy2_unittest.cc
@@ -3518,8 +3518,9 @@ TEST_P(SpdyNetworkTransactionSpdy2Test, CorruptFrameSessionError) {
scoped_ptr<SpdyFrame> syn_reply_wrong_length(
ConstructSpdyGetSynReply(NULL, 0, 1));
size_t wrong_size = syn_reply_wrong_length->size() - 4;
+ BufferedSpdyFramer framer(kSpdyVersion2, false);
test::SetFrameLength(syn_reply_wrong_length.get(),
- wrong_size - SpdyFrame::kHeaderSize,
+ wrong_size - framer.GetControlFrameMinimumSize(),
kSpdyVersion2);
struct SynReplyTests {