| Index: components/ntp_tiles/most_visited_sites.cc
|
| diff --git a/components/ntp_tiles/most_visited_sites.cc b/components/ntp_tiles/most_visited_sites.cc
|
| index f7a90a89b9e6437bcdf979561b522143f1fb8736..7fd24553cd1eca0939dbb88ed90f05d030afd794 100644
|
| --- a/components/ntp_tiles/most_visited_sites.cc
|
| +++ b/components/ntp_tiles/most_visited_sites.cc
|
| @@ -192,10 +192,8 @@ void MostVisitedSites::OnMostVisitedURLsAvailable(
|
| std::min(visited_list.size(), static_cast<size_t>(num_sites_));
|
| for (size_t i = 0; i < num_tiles; ++i) {
|
| const history::MostVisitedURL& visited = visited_list[i];
|
| - if (visited.url.is_empty()) {
|
| - num_tiles = i;
|
| + if (visited.url.is_empty())
|
| break; // This is the signal that there are no more real visited sites.
|
| - }
|
| if (supervisor_ && supervisor_->IsBlocked(visited.url))
|
| continue;
|
|
|
|
|