| Index: remoting/webapp/crd/js/desktop_remoting.js
|
| diff --git a/remoting/webapp/crd/js/desktop_remoting.js b/remoting/webapp/crd/js/desktop_remoting.js
|
| index 10e35c5437115d8287fb776eef0c7bbde13a54ce..d448f7c39eccccceebfa05e80ccc151a752d1962 100644
|
| --- a/remoting/webapp/crd/js/desktop_remoting.js
|
| +++ b/remoting/webapp/crd/js/desktop_remoting.js
|
| @@ -166,10 +166,10 @@ remoting.DesktopRemoting.prototype.getDefaultRemapKeys = function() {
|
| /**
|
| * Called when a new session has been connected.
|
| *
|
| - * @param {remoting.ClientSession} clientSession
|
| + * @param {remoting.ConnectionInfo} connectionInfo
|
| * @return {void} Nothing.
|
| */
|
| -remoting.DesktopRemoting.prototype.handleConnected = function(clientSession) {
|
| +remoting.DesktopRemoting.prototype.handleConnected = function(connectionInfo) {
|
| // Set the text on the buttons shown under the error message so that they are
|
| // easy to understand in the case where a successful connection failed, as
|
| // opposed to the case where a connection never succeeded.
|
| @@ -235,7 +235,7 @@ remoting.DesktopRemoting.prototype.handleConnected = function(clientSession) {
|
| console.log('Unrecognized client platform. Using navigator.platform.');
|
| clientName = navigator.platform;
|
| }
|
| - clientSession.requestPairing(clientName, onPairingComplete);
|
| + connectionInfo.session().requestPairing(clientName, onPairingComplete);
|
| }
|
| };
|
|
|
|
|