| 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 fc5edefc7194f06a9e925e68032c66acd8b0fc8f..291fabbc0a6c2e96a746474a3b8d62d0681719d7 100644
|
| --- a/components/ntp_snippets/ntp_snippets_service.cc
|
| +++ b/components/ntp_snippets/ntp_snippets_service.cc
|
| @@ -218,7 +218,7 @@ void NTPSnippetsService::Init(bool enabled) {
|
| enabled_ = enabled;
|
| if (enabled_) {
|
| // |suggestions_service_| can be null in tests.
|
| - if (snippets_fetcher_->UseHostRestriction() && suggestions_service_) {
|
| + if (snippets_fetcher_->UsesHostRestrictions() && suggestions_service_) {
|
| suggestions_service_subscription_ = suggestions_service_->AddCallback(
|
| base::Bind(&NTPSnippetsService::OnSuggestionsChanged,
|
| base::Unretained(this)));
|
|
|