| Index: components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
|
| diff --git a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
|
| index c8f934637aba2f83b126997a41f39bfca3cfa810..d12a598a293e964c1ed9ae571d0e0c3b647336fa 100644
|
| --- a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
|
| +++ b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
|
| @@ -150,9 +150,8 @@ void BookmarkSuggestionsProvider::ClearHistory(
|
| base::Time begin,
|
| base::Time end,
|
| const base::Callback<bool(const GURL& url)>& filter) {
|
| - // TODO(vitaliii): Do not remove all dates, but only the ones matched by the
|
| - // time range and the filter.
|
| - RemoveAllLastVisitDates(bookmark_model_);
|
| + // The last visit dates are not "owned" by the bookmark suggestion provider so
|
| + // it is cleared directly from browsing_data_remover.cc.
|
| ClearDismissedSuggestionsForDebugging(provided_category_);
|
| FetchBookmarks();
|
| // Temporarily enter an "explicitly disabled" state, so that any open UIs
|
|
|