Index: ui/webui/resources/cr_elements/network/cr_network_list_item.js |
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.js b/ui/webui/resources/cr_elements/network/cr_network_list_item.js |
index 0b9a9e8b049a4efa83456851d3cf293af71a7908..9aafe66ddc22244581ec6c2244a377b77e4a1547 100644 |
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item.js |
+++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.js |
@@ -91,7 +91,7 @@ Polymer({ |
} |
let network = /** @type {!CrOnc.NetworkStateProperties} */ (this.item); |
if (this.isListItem) |
- return CrOnc.getNetworkName(network, this.i18n); |
+ return CrOnc.getNetworkName(network, this, this.i18n); |
return this.i18n('OncType' + network.Type); |
}, |
@@ -117,7 +117,8 @@ Polymer({ |
return this.i18n('networkListItemConnected'); |
if (network.Name && network.ConnectionState) { |
return this.getConnectionStateText_( |
- network.ConnectionState, CrOnc.getNetworkName(network, this.i18n)); |
+ network.ConnectionState, |
+ CrOnc.getNetworkName(network, this, this.i18n)); |
} |
return this.i18n('networkDisabled'); |
}, |