Index: webrtc/pc/channel_unittest.cc |
diff --git a/webrtc/pc/channel_unittest.cc b/webrtc/pc/channel_unittest.cc |
index 6e728384543734b2248f80dd16ebe85f5d3da6bf..3e488152e2f6802bacf343080824aee95768d7f4 100644 |
--- a/webrtc/pc/channel_unittest.cc |
+++ b/webrtc/pc/channel_unittest.cc |
@@ -2658,7 +2658,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, |