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

Unified Diff: remoting/webapp/base/js/auth_dialog.js

Issue 937593002: Changed identity API to use promises instead of callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed bad merge Created 5 years, 10 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 | remoting/webapp/base/js/auth_init.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/auth_dialog.js
diff --git a/remoting/webapp/base/js/auth_dialog.js b/remoting/webapp/base/js/auth_dialog.js
index bdb2b488f498f045c2bd8398f8dac29085c12662..34b621c885d23b6f510466b67bff12d927590b73 100644
--- a/remoting/webapp/base/js/auth_dialog.js
+++ b/remoting/webapp/base/js/auth_dialog.js
@@ -63,7 +63,7 @@ remoting.AuthDialog.prototype.addToRegion = function(rects) {
/** @private */
remoting.AuthDialog.prototype.onClick_ = function() {
this.rootElement_.hidden = true;
- this.onAuthButtonDeferred_.resolve();
+ this.onAuthButtonDeferred_.resolve(null);
this.onAuthButtonDeferred_ = null;
remoting.windowShape.updateClientWindowShape();
};
« no previous file with comments | « no previous file | remoting/webapp/base/js/auth_init.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698