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

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

Issue 1003433002: Updated remoting.xhr API to use promises. Removed access to the native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spy-promise
Patch Set: Created 5 years, 9 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/paired_client_manager.js
diff --git a/remoting/webapp/crd/js/paired_client_manager.js b/remoting/webapp/crd/js/paired_client_manager.js
index 9fe37fd7f775cb9d86f0c2375450832cb91b615e..ebebd20fd411ef5c31f6353b753c57748c38fa64 100644
--- a/remoting/webapp/crd/js/paired_client_manager.js
+++ b/remoting/webapp/crd/js/paired_client_manager.js
@@ -231,7 +231,7 @@ remoting.PairedClientManager.prototype.setWorking_ = function(working) {
*/
remoting.PairedClientManager.prototype.onError_ = function(error) {
this.setWorking_(false);
- l10n.localizeElementFromTag(this.errorDiv_, error.tag);
+ l10n.localizeElementFromTag(this.errorDiv_, error.getTag());
this.errorDiv_.hidden = false;
};

Powered by Google App Engine
This is Rietveld 408576698