Index: extensions/browser/api/system_network/system_network_apitest.cc |
diff --git a/extensions/browser/api/system_network/system_network_apitest.cc b/extensions/browser/api/system_network/system_network_apitest.cc |
index 047857e2120fcdd4aa0a39ca8e53813e73b9a741..b49657552551c130e772ef824c45a9defa6bf0ac 100644 |
--- a/extensions/browser/api/system_network/system_network_apitest.cc |
+++ b/extensions/browser/api/system_network/system_network_apitest.cc |
@@ -43,10 +43,7 @@ IN_PROC_BROWSER_TEST_F(SystemNetworkApiTest, GetNetworkInterfaces) { |
base::ListValue* value = static_cast<base::ListValue*>(result.get()); |
ASSERT_TRUE(value->GetSize() > 0); |
- for (base::ListValue::const_iterator it = value->begin(); it != value->end(); |
- ++it) { |
- base::Value* network_interface_value = *it; |
- |
+ for (const auto& network_interface_value : *value) { |
NetworkInterface network_interface; |
ASSERT_TRUE(NetworkInterface::Populate(*network_interface_value, |
&network_interface)); |