Index: webrtc/api/webrtcsession_unittest.cc |
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc |
index 2c9a99b5e08a247cea0eaf567f30a9e65b464899..3e84a3ceafbef0d938b30aeda50882f7c82ad526 100644 |
--- a/webrtc/api/webrtcsession_unittest.cc |
+++ b/webrtc/api/webrtcsession_unittest.cc |
@@ -3947,7 +3947,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; |