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 323085 9e2e521cbd139851f9ca09ec7f0397cca22cae3d
parent 323084 428778584d516aa656cf50ea49e7455ee3d6c1c7
child 323086 bde14028c597bc3079a9ab23016a9ee27f5ae0ae
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersschien
bugs1253181
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;
     }