Bug 1253181 - Fix the variable name in TCPPresentationServer.js. r=schien
authorMantaroh Yoshinaga <mantaroh@gmail.com>
Thu, 03 Mar 2016 07:10:00 -0500
changeset 336819 9e2e521cbd139851f9ca09ec7f0397cca22cae3d
parent 336818 428778584d516aa656cf50ea49e7455ee3d6c1c7
child 336820 bde14028c597bc3079a9ab23016a9ee27f5ae0ae
push id12189
push usercku@mozilla.com
push dateFri, 04 Mar 2016 07:52:22 +0000
reviewersschien
bugs1253181
milestone47.0a1
Bug 1253181 - Fix the variable name in TCPPresentationServer.js. r=schien
dom/presentation/provider/TCPPresentationServer.js
--- a/dom/presentation/provider/TCPPresentationServer.js
+++ b/dom/presentation/provider/TCPPresentationServer.js
@@ -575,25 +575,25 @@ TCPControlChannel.prototype = {
       DEBUG && log("TCPControlChannel - notify pending opened");
       this._listener.notifyOpened();
     }
 
     if (this._pendingOffer) {
       let offer = this._pendingOffer;
       DEBUG && log("TCPControlChannel - notify pending offer: "
                    + JSON.stringify(offer));
-      this._listener._onOffer(new ChannelDescription(offer));
+      this._listener.onOffer(new ChannelDescription(offer));
       this._pendingOffer = null;
     }
 
     if (this._pendingAnswer) {
       let answer = this._pendingAnswer;
       DEBUG && log("TCPControlChannel - notify pending answer: "
                    + JSON.stringify(answer));
-      this._listener._onAnswer(new ChannelDescription(answer));
+      this._listener.onAnswer(new ChannelDescription(answer));
       this._pendingAnswer = null;
     }
 
     if (this._pendingClose) {
       DEBUG && log("TCPControlChannel - notify pending closed");
       this._notifyClosed(this._pendingCloseReason);
       this._pendingClose = null;
     }