summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session_spdy3_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_session_spdy3_unittest.cc')
-rw-r--r--net/spdy/spdy_session_spdy3_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/spdy/spdy_session_spdy3_unittest.cc b/net/spdy/spdy_session_spdy3_unittest.cc
index 1b4b599..e7e2d18 100644
--- a/net/spdy/spdy_session_spdy3_unittest.cc
+++ b/net/spdy/spdy_session_spdy3_unittest.cc
@@ -1771,7 +1771,7 @@ TEST_F(SpdySessionSpdy3Test, ReadDataWithoutYielding) {
// Build buffer of size kMaxReadBytes / 4 (-spdy_data_frame_size).
ASSERT_EQ(32 * 1024, kMaxReadBytes);
const int kPayloadSize =
- kMaxReadBytes / 4 - framer.GetControlFrameMinimumSize();
+ kMaxReadBytes / 4 - framer.GetControlFrameHeaderSize();
TestDataStream test_stream;
scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize));
char* payload_data = payload->data();
@@ -1862,7 +1862,7 @@ TEST_F(SpdySessionSpdy3Test, TestYieldingDuringReadData) {
// Build buffer of size kMaxReadBytes / 4 (-spdy_data_frame_size).
ASSERT_EQ(32 * 1024, kMaxReadBytes);
const int kPayloadSize =
- kMaxReadBytes / 4 - framer.GetControlFrameMinimumSize();
+ kMaxReadBytes / 4 - framer.GetControlFrameHeaderSize();
TestDataStream test_stream;
scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize));
char* payload_data = payload->data();
@@ -1962,7 +1962,7 @@ TEST_F(SpdySessionSpdy3Test, TestYieldingDuringAsyncReadData) {
ASSERT_EQ(32 * 1024, kMaxReadBytes);
TestDataStream test_stream;
const int kEightKPayloadSize =
- kMaxReadBytes / 4 - framer.GetControlFrameMinimumSize();
+ kMaxReadBytes / 4 - framer.GetControlFrameHeaderSize();
scoped_refptr<net::IOBuffer> eightk_payload(
new net::IOBuffer(kEightKPayloadSize));
char* eightk_payload_data = eightk_payload->data();