Index: chrome/browser/resources/settings/internet_page/network_summary.js |
diff --git a/chrome/browser/resources/settings/internet_page/network_summary.js b/chrome/browser/resources/settings/internet_page/network_summary.js |
index 3f83c7af26a3fdd7ec9f4de73054f27140e4f933..a1c6dea26650871ad5f403c4d57ace2a99ec6530 100644 |
--- a/chrome/browser/resources/settings/internet_page/network_summary.js |
+++ b/chrome/browser/resources/settings/internet_page/network_summary.js |
@@ -223,10 +223,10 @@ Polymer({ |
*/ |
getNetworkLists_: function() { |
// First get the device states. |
- this.networkingPrivate.getDeviceStates(function(deviceStates) { |
+ this.networkingPrivate.getDeviceStates(deviceStates => { |
// Second get the network states. |
this.getNetworkStates_(deviceStates); |
- }.bind(this)); |
+ }); |
}, |
/** |
@@ -242,9 +242,9 @@ Polymer({ |
visible: true, |
configured: false |
}; |
- this.networkingPrivate.getNetworks(filter, function(networkStates) { |
+ this.networkingPrivate.getNetworks(filter, networkStates => { |
this.updateNetworkStates_(networkStates, deviceStates); |
- }.bind(this)); |
+ }); |
}, |
/** |