Index: webrtc/api/webrtcsession_unittest.cc |
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc |
index 77c4854680bf141d2c1ae194f74ee0ad1b59edb2..18c1a95116e5e812c0f784137c5fb28a463e895c 100644 |
--- a/webrtc/api/webrtcsession_unittest.cc |
+++ b/webrtc/api/webrtcsession_unittest.cc |
@@ -4054,7 +4054,7 @@ TEST_P(WebRtcSessionTest, TestSctpDataChannelOpenMessage) { |
webrtc::DataChannelInit config; |
config.id = 1; |
- rtc::Buffer payload; |
+ rtc::CopyOnWriteBuffer payload; |
webrtc::WriteDataChannelOpenMessage("a", config, &payload); |
cricket::ReceiveDataParams params; |
params.ssrc = config.id; |