| Index: components/ntp_snippets/content_suggestions_service.cc
|
| diff --git a/components/ntp_snippets/content_suggestions_service.cc b/components/ntp_snippets/content_suggestions_service.cc
|
| index 3311d45624a4372568a304e857f205ae9f105b79..adc71573280f5b33f0b51f51be9bbb6e0f023bba 100644
|
| --- a/components/ntp_snippets/content_suggestions_service.cc
|
| +++ b/components/ntp_snippets/content_suggestions_service.cc
|
| @@ -187,6 +187,10 @@ void ContentSuggestionsService::OnNewSuggestions(
|
| NotifyCategoryStatusChanged(category);
|
| }
|
|
|
| + if (!IsCategoryStatusAvailable(provider->GetCategoryStatus(category))) {
|
| + return;
|
| + }
|
| +
|
| for (const ContentSuggestion& suggestion :
|
| suggestions_by_category_[category]) {
|
| id_category_map_.erase(suggestion.id());
|
|
|