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

Unified Diff: chrome/browser/resources/settings/appearance_page/home_url_input.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/appearance_page/home_url_input.js
diff --git a/chrome/browser/resources/settings/appearance_page/home_url_input.js b/chrome/browser/resources/settings/appearance_page/home_url_input.js
index 95faaa58fdf48b9fae1115810a3db138b51b5e97..42c751b87930bd6391e00ebbfdef675f7f26e707 100644
--- a/chrome/browser/resources/settings/appearance_page/home_url_input.js
+++ b/chrome/browser/resources/settings/appearance_page/home_url_input.js
@@ -134,8 +134,8 @@ Polymer({
return;
}
- this.browserProxy_.validateStartupPage(this.value).then(function(isValid) {
+ this.browserProxy_.validateStartupPage(this.value).then(isValid => {
this.invalid = !isValid;
- }.bind(this));
+ });
},
});

Powered by Google App Engine
This is Rietveld 408576698