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

Unified Diff: remoting/webapp/oauth2.js

Issue 10271025: Fix JSCompiler error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/oauth2.js
diff --git a/remoting/webapp/oauth2.js b/remoting/webapp/oauth2.js
index cdf1fd4e925669b3f80ab888fac98932e93bae6c..38676986394de02d981b07479c89f974c7137c92 100644
--- a/remoting/webapp/oauth2.js
+++ b/remoting/webapp/oauth2.js
@@ -226,7 +226,7 @@ remoting.OAuth2.prototype.processTokenResponse_ = function(xhr) {
(tokens['expires_in'] - (120 + 30)) * 1000 + Date.now());
} catch (err) {
console.error('Invalid "token" response from server:',
- /** @type {*} */ err);
+ /** @type {*} */ (err));
}
} else {
console.error('Failed to get tokens. Status: ' + xhr.status +
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698