Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
index 64c691ff8df23c3223b13b83a18fa28a98db427f..fc18721488d79adb4b4d010fff9a317758db19ee 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
@@ -2959,7 +2959,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); |
@@ -3112,7 +3112,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); |