| Index: components/url_matcher/url_matcher_factory.cc
|
| diff --git a/components/url_matcher/url_matcher_factory.cc b/components/url_matcher/url_matcher_factory.cc
|
| index e7ce483cd025fe32fec90543d86b53a4dbad4509..848e5d469396040fed208f4664e97ca3ada2edd7 100644
|
| --- a/components/url_matcher/url_matcher_factory.cc
|
| +++ b/components/url_matcher/url_matcher_factory.cc
|
| @@ -248,9 +248,7 @@ std::unique_ptr<URLMatcherPortFilter> URLMatcherFactory::CreateURLMatcherPorts(
|
| return nullptr;
|
| }
|
|
|
| - for (base::ListValue::const_iterator i = value_list->begin();
|
| - i != value_list->end(); ++i) {
|
| - base::Value* entry = *i;
|
| + for (const auto& entry : *value_list) {
|
| int port = 0;
|
| base::ListValue* range = NULL;
|
| if (entry->GetAsInteger(&port)) {
|
|
|