| 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 825de07f89ae8d900c5a7f625c97336a98a5a242..8455fca6ca3affb3ced2a4745166749c7570b32a 100644
|
| --- a/components/ntp_snippets/ntp_snippets_service.cc
|
| +++ b/components/ntp_snippets/ntp_snippets_service.cc
|
| @@ -797,12 +797,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_);
|
| }
|
| }
|
|
|
|
|