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

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

Issue 1004513002: Eliminated named constants for instances of remoting.Error. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « remoting/webapp/crd/js/oauth2_api_impl.js ('k') | remoting/webapp/crd/js/remoting.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « remoting/webapp/crd/js/oauth2_api_impl.js ('k') | remoting/webapp/crd/js/remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698