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

Unified Diff: chrome/browser/resources/settings/internet_page/network_apnlist.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/internet_page/network_apnlist.js
diff --git a/chrome/browser/resources/settings/internet_page/network_apnlist.js b/chrome/browser/resources/settings/internet_page/network_apnlist.js
index b81f6cecccf88600f883c4e7835b94a96103fa96..4e3213f43d25b5feb0359caa35a5f866b834a6ec 100644
--- a/chrome/browser/resources/settings/internet_page/network_apnlist.js
+++ b/chrome/browser/resources/settings/internet_page/network_apnlist.js
@@ -140,10 +140,10 @@ Polymer({
this.apnSelectList_ = result;
// Set selectedApn_ after dom-repeat has been stamped.
- this.async(function() {
+ this.async(() => {
this.selectedApn_ =
(activeApn && activeApn.AccessPointName) || otherApn.AccessPointName;
- }.bind(this));
+ });
},
/**

Powered by Google App Engine
This is Rietveld 408576698