| 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 f0307c609a9123980b16e8905045e360e7d80d06..aa52d584814f6c5e788b2420bbcd2c9994a9bb84 100644
|
| --- a/components/ntp_tiles/most_visited_sites.cc
|
| +++ b/components/ntp_tiles/most_visited_sites.cc
|
| @@ -200,7 +200,7 @@ void MostVisitedSites::InitiateTopSitesQuery() {
|
|
|
| base::FilePath MostVisitedSites::GetWhitelistLargeIconPath(const GURL& url) {
|
| if (supervisor_) {
|
| - for (const auto& whitelist : supervisor_->whitelists()) {
|
| + for (const auto& whitelist : supervisor_->GetWhitelists()) {
|
| if (AreURLsEquivalent(whitelist.entry_point, url))
|
| return whitelist.large_icon_path;
|
| }
|
| @@ -302,7 +302,7 @@ NTPTilesVector MostVisitedSites::CreateWhitelistEntryPointTiles(
|
| }
|
|
|
| NTPTilesVector whitelist_tiles;
|
| - for (const auto& whitelist : supervisor_->whitelists()) {
|
| + for (const auto& whitelist : supervisor_->GetWhitelists()) {
|
| if (whitelist_tiles.size() + num_actual_tiles >= num_sites_)
|
| break;
|
|
|
|
|