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

Unified Diff: chrome/browser/resources/settings/site_settings/edit_exception_dialog.js

Issue 2984843003: MD Settings: Convert all usages of .bind(this) to use ES6 arrow function. (Closed)
Patch Set: Resolve conflicts. Created 3 years, 5 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: chrome/browser/resources/settings/site_settings/edit_exception_dialog.js
diff --git a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js
index b4d39aa5b4b321974380fa1df864e5032a547a63..a67f5c91a9175a52de3d8ce7f45d881867184ada 100644
--- a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js
+++ b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js
@@ -68,8 +68,8 @@ Polymer({
return;
}
- this.browserProxy_.isPatternValid(this.origin_).then(function(isValid) {
+ this.browserProxy_.isPatternValid(this.origin_).then(isValid => {
this.invalid_ = !isValid;
- }.bind(this));
+ });
},
});

Powered by Google App Engine
This is Rietveld 408576698