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

Unified Diff: chrome/browser/resources/settings/site_settings/media_picker.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/media_picker.js
diff --git a/chrome/browser/resources/settings/site_settings/media_picker.js b/chrome/browser/resources/settings/site_settings/media_picker.js
index f39f5f9a94cbee0c7f78905d2778f6dc0b2fcc9a..8c8ca451e360d662f94f4f219d5718f51e3d3cee 100644
--- a/chrome/browser/resources/settings/site_settings/media_picker.js
+++ b/chrome/browser/resources/settings/site_settings/media_picker.js
@@ -50,9 +50,9 @@ Polymer({
this.devices = devices;
// Wait for <select> to be populated.
- this.async(function() {
+ this.async(() => {
this.$.mediaPicker.value = defaultDevice;
- }.bind(this));
+ });
}
},

Powered by Google App Engine
This is Rietveld 408576698