diff options
Diffstat (limited to 'chrome/browser/ui/webui/ntp/suggestions_page_handler.cc')
-rw-r--r-- | chrome/browser/ui/webui/ntp/suggestions_page_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc index a7b6a133..b6c2ffc 100644 --- a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc +++ b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc @@ -131,12 +131,12 @@ void SuggestionsHandler::OnSuggestionsReady() { } void SuggestionsHandler::SendPagesValue() { - if (suggestions_combiner_->GetPagesValue()) { + if (suggestions_combiner_->GetPageValues()) { // TODO(georgey) add actual blacklist. bool has_blacklisted_urls = false; base::FundamentalValue has_blacklisted_urls_value(has_blacklisted_urls); web_ui()->CallJavascriptFunction("ntp.setSuggestionsPages", - *suggestions_combiner_->GetPagesValue(), + *suggestions_combiner_->GetPageValues(), has_blacklisted_urls_value); } } |