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 397b9e417e57e19ef82cba73c832ca1ae7f70b0d..84b7b3859e1222ff570fcf98693199a123e8f922 100644 |
--- a/components/ntp_tiles/most_visited_sites.cc |
+++ b/components/ntp_tiles/most_visited_sites.cc |
@@ -161,7 +161,8 @@ void MostVisitedSites::BuildCurrentTiles() { |
// Get the current suggestions from cache. If the cache is empty, this will |
// fall back to TopSites. |
OnSuggestionsProfileAvailable( |
- suggestions_service_->GetSuggestionsDataFromCache()); |
+ suggestions_service_->GetSuggestionsDataFromCache().value_or( |
+ SuggestionsProfile())); |
} |
void MostVisitedSites::InitiateTopSitesQuery() { |