Index: webrtc/pc/channel_unittest.cc |
diff --git a/webrtc/pc/channel_unittest.cc b/webrtc/pc/channel_unittest.cc |
index 686f85d9eae792761e23fff64b6e142b2cd10c0e..ecbdad4888b7bac55bbd290091d559346dd7e3f8 100644 |
--- a/webrtc/pc/channel_unittest.cc |
+++ b/webrtc/pc/channel_unittest.cc |
@@ -2769,7 +2769,7 @@ TEST_F(DataChannelTest, TestSendData) { |
unsigned char data[] = { |
'f', 'o', 'o' |
}; |
- rtc::Buffer payload(data, 3); |
+ rtc::CopyOnWriteBuffer payload(data, 3); |
cricket::SendDataResult result; |
ASSERT_TRUE(media_channel1_->SendData(params, payload, &result)); |
EXPECT_EQ(params.ssrc, |