Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
index c18f35b5e4e9730b0ca28913549caa2bc2017340..35ec84940522a33b7df541d6caedf585a1600fca 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
@@ -2876,7 +2876,7 @@ TEST_F(WebRtcVideoChannel2Test, DefaultReceiveStreamReconfiguresToUseRtx) { |
uint8_t data[kDataLength]; |
memset(data, 0, sizeof(data)); |
rtc::SetBE32(&data[8], ssrcs[0]); |
- rtc::Buffer packet(data, kDataLength); |
+ rtc::CopyOnWriteBuffer packet(data, kDataLength); |
rtc::PacketTime packet_time; |
channel_->OnPacketReceived(&packet, packet_time); |
@@ -3029,7 +3029,7 @@ void WebRtcVideoChannel2Test::TestReceiveUnsignalledSsrcPacket( |
rtc::Set8(data, 1, payload_type); |
rtc::SetBE32(&data[8], kIncomingUnsignalledSsrc); |
- rtc::Buffer packet(data, kDataLength); |
+ rtc::CopyOnWriteBuffer packet(data, kDataLength); |
rtc::PacketTime packet_time; |
channel_->OnPacketReceived(&packet, packet_time); |