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

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

Issue 955283002: Converted remoting.Error from an enum to a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Requested changes. 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
Index: remoting/webapp/crd/js/hangout_consent_dialog.js
diff --git a/remoting/webapp/crd/js/hangout_consent_dialog.js b/remoting/webapp/crd/js/hangout_consent_dialog.js
index 648419ecc7eab81be4cfccc534b35235f2bba2c9..37e26b9c911bca3a08f8cbce7d68d473a5ba5886 100644
--- a/remoting/webapp/crd/js/hangout_consent_dialog.js
+++ b/remoting/webapp/crd/js/hangout_consent_dialog.js
@@ -47,7 +47,7 @@ remoting.HangoutConsentDialog.prototype.onConfirmResponse_ = function(
this.onConsentResponseDeferred_.resolve();
} else {
this.onConsentResponseDeferred_.reject(
- new Error(remoting.Error.CANCELLED));
+ remoting.Error.CANCELLED);
Jamie 2015/03/02 18:28:09 No new line.
John Williams 2015/03/02 22:01:37 Done.
}
this.onConsentResponseDeferred_ = null;
};

Powered by Google App Engine
This is Rietveld 408576698