Fix spelling mistake ReplaceRemoteDescriptionAndCheckE*r*or

BUG=None

Change-Id: I5d51216bdf7b755cb77c871bee4ab6012abba809
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/304040
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40230}
diff --git a/pc/sdp_offer_answer.cc b/pc/sdp_offer_answer.cc
index 17befaf..6596d82 100644
--- a/pc/sdp_offer_answer.cc
+++ b/pc/sdp_offer_answer.cc
@@ -973,7 +973,7 @@
   }
 
   // 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 @@
   // description affects the stats.
   pc_->ClearStatsCache();
 
-  if (!operation->ReplaceRemoteDescriptionAndCheckEror())
+  if (!operation->ReplaceRemoteDescriptionAndCheckError())
     return;
 
   if (!operation->UpdateChannels())