| Index: net/quic/quic_framer_test.cc
|
| diff --git a/net/quic/quic_framer_test.cc b/net/quic/quic_framer_test.cc
|
| index 4996a8654689d49e39f9689d174da5e01b879d8f..a230570524acf4b8db523fd44bda2c68aae491d6 100644
|
| --- a/net/quic/quic_framer_test.cc
|
| +++ b/net/quic/quic_framer_test.cc
|
| @@ -255,7 +255,7 @@ class TestQuicVisitor : public QuicFramerVisitorInterface {
|
| ++frame_count_;
|
| // Save a copy of the data so it is valid after the packet is processed.
|
| string* string_data = new string();
|
| - StringPiece(frame.frame_buffer, frame.frame_length)
|
| + StringPiece(frame.data_buffer, frame.data_length)
|
| .AppendToString(string_data);
|
| stream_data_.push_back(string_data);
|
| stream_frames_.push_back(new QuicStreamFrame(frame.stream_id, frame.fin,
|
| @@ -446,7 +446,7 @@ class QuicFramerTest : public ::testing::TestWithParam<QuicVersion> {
|
|
|
| // Checks if the supplied string matches data in the supplied StreamFrame.
|
| void CheckStreamFrameData(string str, QuicStreamFrame* frame) {
|
| - EXPECT_EQ(str, string(frame->frame_buffer, frame->frame_length));
|
| + EXPECT_EQ(str, string(frame->data_buffer, frame->data_length));
|
| }
|
|
|
| void CheckStreamFrameBoundaries(unsigned char* packet,
|
| @@ -6959,7 +6959,7 @@ static QuicStreamId kTestQuicStreamId = 1;
|
| static bool ExpectedStreamFrame(const QuicStreamFrame& frame) {
|
| return frame.stream_id == kTestQuicStreamId && !frame.fin &&
|
| frame.offset == 0 &&
|
| - string(frame.frame_buffer, frame.frame_length) == kTestString;
|
| + string(frame.data_buffer, frame.data_length) == kTestString;
|
| // FIN is hard-coded false in ConstructEncryptedPacket.
|
| // Offset 0 is hard-coded in ConstructEncryptedPacket.
|
| }
|
|
|