| Index: remoting/webapp/crd/js/host_screen.js
|
| diff --git a/remoting/webapp/crd/js/host_screen.js b/remoting/webapp/crd/js/host_screen.js
|
| index e1ddda47abf6b858c55c2d7495f74e089b4a8fbf..183deb7f1884543312d7222909f8c9531ab3cd36 100644
|
| --- a/remoting/webapp/crd/js/host_screen.js
|
| +++ b/remoting/webapp/crd/js/host_screen.js
|
| @@ -74,9 +74,9 @@ remoting.tryShare = function() {
|
| */
|
| remoting.startHostUsingFacade_ = function(hostFacade) {
|
| console.log('Attempting to share...');
|
| - remoting.identity.callWithToken(
|
| + remoting.identity.getToken().then(
|
| remoting.tryShareWithToken_.bind(null, hostFacade),
|
| - remoting.showErrorMessage);
|
| + remoting.Error.handler(remoting.showErrorMessage));
|
| }
|
|
|
| /**
|
|
|