Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Unified Diff: remoting/webapp/crd/js/identity.js

Issue 803653004: Update Chromoting to use /third_party/closure_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused types Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/crd/js/identity.js
diff --git a/remoting/webapp/crd/js/identity.js b/remoting/webapp/crd/js/identity.js
index 3cf7e3dd0981531087088f0eafb246e54a565586..63e70d47e9d29d229ee2a76cd394b94ddcba30aa 100644
--- a/remoting/webapp/crd/js/identity.js
+++ b/remoting/webapp/crd/js/identity.js
@@ -163,7 +163,7 @@ remoting.Identity.prototype.onAuthComplete_ = function(interactive, token) {
if (token) {
while (this.pendingCallbacks_.length > 0) {
var callback = /** @type {remoting.Identity.Callbacks} */
- this.pendingCallbacks_.shift();
+ (this.pendingCallbacks_.shift());
callback.onOk(token);
}
return;
@@ -178,7 +178,7 @@ remoting.Identity.prototype.onAuthComplete_ = function(interactive, token) {
console.error(error_message);
while (this.pendingCallbacks_.length > 0) {
var callback = /** @type {remoting.Identity.Callbacks} */
- this.pendingCallbacks_.shift();
+ (this.pendingCallbacks_.shift());
callback.onError(remoting.Error.NOT_AUTHENTICATED);
}
return;

Powered by Google App Engine
This is Rietveld 408576698