Chromium Code Reviews| Index: chrome/browser/browsing_data/browsing_data_remover.cc |
| diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc |
| index aaf1e6074e4a670877882e04657f7ae74a704959..1077cf1270616820b20c6dfbebb3d1f981c19f92 100644 |
| --- a/chrome/browser/browsing_data/browsing_data_remover.cc |
| +++ b/chrome/browser/browsing_data/browsing_data_remover.cc |
| @@ -522,7 +522,7 @@ void BrowsingDataRemover::RemoveImpl( |
| } |
| ntp_snippets::ContentSuggestionsService* content_suggestions_service = |
| - ContentSuggestionsServiceFactory::GetForProfile(profile_); |
|
Marc Treib
2016/09/15 12:45:09
GetForProfile is called in one more place in this
jkrcal
2016/09/15 12:53:17
Oh, thanks for spotting that!
Bernhard Bauer
2016/09/15 13:44:46
Should we add a DCHECK that the feature is enabled
|
| + ContentSuggestionsServiceFactory::GetForProfileIfExists(profile_); |
| if (content_suggestions_service) { |
| content_suggestions_service->ClearHistory(delete_begin_, delete_end_, |
| filter); |