Chromium Code Reviews| Index: webrtc/pc/mediasession.cc | 
| diff --git a/webrtc/pc/mediasession.cc b/webrtc/pc/mediasession.cc | 
| index c596951f93afac61ab3e33c15ee008aa01197ee9..4135f216944907b537de5ddd720b2ac09c59caaa 100644 | 
| --- a/webrtc/pc/mediasession.cc | 
| +++ b/webrtc/pc/mediasession.cc | 
| @@ -1996,6 +1996,12 @@ bool MediaSessionDescriptionFactory::AddDataContentForAnswer( | 
| return false; // Fails the session setup. | 
| } | 
| + // Respond with sctmap if the offer uses sctmap. | 
| 
 
Taylor Brandstetter
2017/02/17 02:10:56
Missing a 'p'
 
Zach Stein
2017/02/17 21:29:17
Done.
 
 | 
| + const DataContentDescription* offer_data_description = | 
| + static_cast<const DataContentDescription*>(data_content->description); | 
| + bool offer_uses_sctpmap = offer_data_description->use_sctpmap(); | 
| + data_answer->set_use_sctpmap(offer_uses_sctpmap); | 
| + | 
| bool rejected = !options.has_data() || data_content->rejected || | 
| !IsMediaProtocolSupported(MEDIA_TYPE_DATA, | 
| data_answer->protocol(), |