Index: remoting/webapp/host_setup_dialog.js |
diff --git a/remoting/webapp/host_setup_dialog.js b/remoting/webapp/host_setup_dialog.js |
index c410ecebc8ff8b713209a480f7d16d92d4d034ed..15e34ca73528079a63c0fb0cd3c0994fcbfe81e6 100644 |
--- a/remoting/webapp/host_setup_dialog.js |
+++ b/remoting/webapp/host_setup_dialog.js |
@@ -158,8 +158,8 @@ remoting.HostSetupDialog.prototype.showForStart = function() { |
// Although we don't need an access token in order to start the host, |
// using callWithToken here ensures consistent error handling in the |
// case where the refresh token is invalid. |
- remoting.oauth2.callWithToken(this.showForStartWithToken_.bind(this), |
- remoting.showErrorMessage); |
+ remoting.identity.callWithToken(this.showForStartWithToken_.bind(this), |
+ remoting.showErrorMessage); |
}; |
/** |