| Index: components/ntp_snippets/ntp_snippets_service.cc
|
| diff --git a/components/ntp_snippets/ntp_snippets_service.cc b/components/ntp_snippets/ntp_snippets_service.cc
|
| index 67a23d42f846dca69738bd9c9a1c4e6ba1f6ccbd..109b8bc7a2d2b26357dfaff81262fe94e5b3ba0b 100644
|
| --- a/components/ntp_snippets/ntp_snippets_service.cc
|
| +++ b/components/ntp_snippets/ntp_snippets_service.cc
|
| @@ -795,12 +795,13 @@ void NTPSnippetsService::NotifyNewSuggestions() {
|
| suggestion.set_score(snippet->score());
|
| result.emplace_back(std::move(suggestion));
|
| }
|
| - observer_->OnNewSuggestions(provided_category_, std::move(result));
|
| + observer_->OnNewSuggestions(this, provided_category_, std::move(result));
|
| }
|
|
|
| void NTPSnippetsService::NotifyCategoryStatusChanged() {
|
| if (observer_) {
|
| - observer_->OnCategoryStatusChanged(provided_category_, category_status_);
|
| + observer_->OnCategoryStatusChanged(this, provided_category_,
|
| + category_status_);
|
| }
|
| }
|
|
|
|
|