diff --git a/pc/sdp_offer_answer.cc b/pc/sdp_offer_answer.cc index 17befaf445..6596d82167 100644 --- a/pc/sdp_offer_answer.cc +++ b/pc/sdp_offer_answer.cc @@ -973,7 +973,7 @@ class SdpOfferAnswerHandler::RemoteDescriptionOperation { } // Transfers ownership of the session description object over to `handler_`. - bool ReplaceRemoteDescriptionAndCheckEror() { + bool ReplaceRemoteDescriptionAndCheckError() { RTC_DCHECK_RUN_ON(handler_->signaling_thread()); RTC_DCHECK(ok()); RTC_DCHECK(desc_); @@ -1981,7 +1981,7 @@ void SdpOfferAnswerHandler::ApplyRemoteDescription( // description affects the stats. pc_->ClearStatsCache(); - if (!operation->ReplaceRemoteDescriptionAndCheckEror()) + if (!operation->ReplaceRemoteDescriptionAndCheckError()) return; if (!operation->UpdateChannels())