| Index: chrome/browser/supervised_user/supervised_user_url_filter.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_url_filter.cc b/chrome/browser/supervised_user/supervised_user_url_filter.cc
|
| index d85a5dfbf2be65da0f39f8c3b54e26e010c017e5..26d68c2798391dfac90bb714a9596033cf160c5a 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_url_filter.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_url_filter.cc
|
| @@ -315,7 +315,7 @@ SupervisedUserURLFilter::GetFilteringBehaviorForURL(
|
|
|
| // Look for patterns matching the hostname, with a value that is different
|
| // from the default (a value of true in the map meaning allowed).
|
| - for (const std::pair<std::string, bool>& host_entry : host_map_) {
|
| + for (const auto& host_entry : host_map_) {
|
| if ((host_entry.second == (default_behavior_ == BLOCK)) &&
|
| HostMatchesPattern(host, host_entry.first)) {
|
| return host_entry.second ? ALLOW : BLOCK;
|
|
|