| Index: remoting/webapp/crd/js/wcs_sandbox_container.js
|
| diff --git a/remoting/webapp/crd/js/wcs_sandbox_container.js b/remoting/webapp/crd/js/wcs_sandbox_container.js
|
| index 0934df42e5a25f46c22c406a23145ba2a19f98f6..c39759879cbab9deb153b70e2adcb05b13b99abc 100644
|
| --- a/remoting/webapp/crd/js/wcs_sandbox_container.js
|
| +++ b/remoting/webapp/crd/js/wcs_sandbox_container.js
|
| @@ -97,8 +97,9 @@ remoting.WcsSandboxContainer.prototype.ensureAccessTokenRefreshTimer_ =
|
| * @return {void} Nothing.
|
| */
|
| remoting.WcsSandboxContainer.prototype.refreshAccessToken_ = function() {
|
| - remoting.identity.callWithToken(
|
| - this.setAccessToken_.bind(this), this.onError_);
|
| + remoting.identity.getToken().then(
|
| + this.setAccessToken_.bind(this),
|
| + remoting.Error.handler(this.onError_));
|
| };
|
|
|
| /**
|
|
|