Index: webrtc/media/base/rtpdump_unittest.cc |
diff --git a/webrtc/media/base/rtpdump_unittest.cc b/webrtc/media/base/rtpdump_unittest.cc |
index a5b79c9e946f9079232ad2ff89efb24db8960b80..748ceab120069f1751f5b329c4bda56ea72f9f40 100644 |
--- a/webrtc/media/base/rtpdump_unittest.cc |
+++ b/webrtc/media/base/rtpdump_unittest.cc |
@@ -24,7 +24,7 @@ static const uint32_t kTestSsrc = 1; |
// Test that we read the correct header fields from the RTP/RTCP packet. |
TEST(RtpDumpTest, ReadRtpDumpPacket) { |
- rtc::ByteBuffer rtp_buf; |
+ rtc::ByteBufferWriter rtp_buf; |
RtpTestUtility::kTestRawRtpPackets[0].WriteToByteBuffer(kTestSsrc, &rtp_buf); |
RtpDumpPacket rtp_packet(rtp_buf.Data(), rtp_buf.Length(), 0, false); |
@@ -46,7 +46,7 @@ TEST(RtpDumpTest, ReadRtpDumpPacket) { |
EXPECT_EQ(kTestSsrc, ssrc); |
EXPECT_FALSE(rtp_packet.GetRtcpType(&rtcp_type)); |
- rtc::ByteBuffer rtcp_buf; |
+ rtc::ByteBufferWriter rtcp_buf; |
RtpTestUtility::kTestRawRtcpPackets[0].WriteToByteBuffer(&rtcp_buf); |
RtpDumpPacket rtcp_packet(rtcp_buf.Data(), rtcp_buf.Length(), 0, true); |