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

Unified Diff: chrome/browser/resources/settings/site_settings/usb_devices.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/usb_devices.js
diff --git a/chrome/browser/resources/settings/site_settings/usb_devices.js b/chrome/browser/resources/settings/site_settings/usb_devices.js
index 28a489875d07f5aea5744ab5a7aecbe05be3c7e5..c4e64f3891a7cbd119a46e0e7899381236fdc92d 100644
--- a/chrome/browser/resources/settings/site_settings/usb_devices.js
+++ b/chrome/browser/resources/settings/site_settings/usb_devices.js
@@ -37,9 +37,9 @@ Polymer({
* @private
*/
fetchUsbDevices_: function() {
- this.browserProxy.fetchUsbDevices().then(function(deviceList) {
+ this.browserProxy.fetchUsbDevices().then(deviceList => {
this.devices_ = deviceList;
- }.bind(this));
+ });
},
/**

Powered by Google App Engine
This is Rietveld 408576698