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 dc5c32e..bfc3d0a6 100644
--- a/net/spdy/spdy_session_spdy3_unittest.cc
+++ b/net/spdy/spdy_session_spdy3_unittest.cc
@@ -1770,7 +1770,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 - SpdyDataFrame::size();
+ const int kPayloadSize = kMaxReadBytes / 4 - SpdyFrame::kHeaderSize;
TestDataStream test_stream;
scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize));
char* payload_data = payload->data();
@@ -1860,7 +1860,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 - SpdyDataFrame::size();
+ const int kPayloadSize = kMaxReadBytes / 4 - SpdyFrame::kHeaderSize;
TestDataStream test_stream;
scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize));
char* payload_data = payload->data();
@@ -1959,7 +1959,7 @@ TEST_F(SpdySessionSpdy3Test, TestYieldingDuringAsyncReadData) {
// Build buffer of size kMaxReadBytes / 4 (-spdy_data_frame_size).
ASSERT_EQ(32 * 1024, kMaxReadBytes);
TestDataStream test_stream;
- const int kEightKPayloadSize = kMaxReadBytes / 4 - SpdyDataFrame::size();
+ const int kEightKPayloadSize = kMaxReadBytes / 4 - SpdyFrame::kHeaderSize;
scoped_refptr<net::IOBuffer> eightk_payload(
new net::IOBuffer(kEightKPayloadSize));
char* eightk_payload_data = eightk_payload->data();