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

Unified Diff: remoting/webapp/crd/js/mock_signal_strategy.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/mock_identity.js ('k') | remoting/webapp/crd/js/oauth2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/mock_signal_strategy.js
diff --git a/remoting/webapp/crd/js/mock_signal_strategy.js b/remoting/webapp/crd/js/mock_signal_strategy.js
index 26fba1b768fa031f159c5d0bf8fc0e9152d06a3d..be54f81ff25fb2a3d0166b21ebb4159a6479b6ea 100644
--- a/remoting/webapp/crd/js/mock_signal_strategy.js
+++ b/remoting/webapp/crd/js/mock_signal_strategy.js
@@ -57,7 +57,7 @@ remoting.MockSignalStrategy.prototype.getState = function() {
/** @return {!remoting.Error} */
remoting.MockSignalStrategy.prototype.getError = function() {
- return remoting.Error.NONE;
+ return remoting.Error.none();
};
/** @return {string} */
« no previous file with comments | « remoting/webapp/crd/js/mock_identity.js ('k') | remoting/webapp/crd/js/oauth2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698