Index: services/catalog/entry.cc |
diff --git a/services/catalog/entry.cc b/services/catalog/entry.cc |
index 9d477b13815913b53c69f5a9f72f2525d1156641..c9d9d0783a03ec408680d95708425e56a1711c03 100644 |
--- a/services/catalog/entry.cc |
+++ b/services/catalog/entry.cc |
@@ -14,9 +14,8 @@ namespace { |
bool ReadStringSet(const base::ListValue& list_value, |
std::set<std::string>* string_set) { |
DCHECK(string_set); |
- for (auto i = list_value.begin(); i != list_value.end(); ++i) { |
+ for (const auto& value_value : list_value) { |
std::string value; |
- const base::Value* value_value = *i; |
if (!value_value->GetAsString(&value)) { |
LOG(ERROR) << "Entry::Deserialize: list member must be a string"; |
return false; |