| Index: talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| diff --git a/talk/app/webrtc/webrtcsessiondescriptionfactory.cc b/talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| index 876931539a96e22e5b1a2bfa5803d0fe81c3dd7f..06130acd6caa54c3e0e7be7d7dbeb496611da611 100644
|
| --- a/talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| +++ b/talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| @@ -403,10 +403,8 @@ void WebRtcSessionDescriptionFactory::OnMessage(rtc::Message* msg) {
|
|
|
| void WebRtcSessionDescriptionFactory::InternalCreateOffer(
|
| CreateSessionDescriptionRequest request) {
|
| - cricket::SessionDescription* desc(
|
| - session_desc_factory_.CreateOffer(
|
| - request.options,
|
| - static_cast<cricket::BaseSession*>(session_)->local_description()));
|
| + cricket::SessionDescription* desc(session_desc_factory_.CreateOffer(
|
| + request.options, session_->base_local_description()));
|
| // RFC 3264
|
| // When issuing an offer that modifies the session,
|
| // the "o=" line of the new SDP MUST be identical to that in the
|
| @@ -450,9 +448,8 @@ void WebRtcSessionDescriptionFactory::InternalCreateAnswer(
|
| }
|
|
|
| cricket::SessionDescription* desc(session_desc_factory_.CreateAnswer(
|
| - static_cast<cricket::BaseSession*>(session_)->remote_description(),
|
| - request.options,
|
| - static_cast<cricket::BaseSession*>(session_)->local_description()));
|
| + session_->base_remote_description(), request.options,
|
| + session_->base_local_description()));
|
| // RFC 3264
|
| // If the answer is different from the offer in any way (different IP
|
| // addresses, ports, etc.), the origin line MUST be different in the answer.
|
|
|