| Index: chrome/browser/search/local_ntp_source.cc
|
| diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
|
| index ba661d515433d77aa2317fe286cb64296f28c110..9e2fdef8a3f276861f62f04996d5f376252f0860 100644
|
| --- a/chrome/browser/search/local_ntp_source.cc
|
| +++ b/chrome/browser/search/local_ntp_source.cc
|
| @@ -20,6 +20,7 @@
|
| #include "chrome/grit/generated_resources.h"
|
| #include "components/search_engines/template_url_prepopulate_data.h"
|
| #include "components/search_engines/template_url_service.h"
|
| +#include "components/variations/variations_associated_data.h"
|
| #include "grit/browser_resources.h"
|
| #include "grit/theme_resources.h"
|
| #include "net/url_request/url_request.h"
|
| @@ -81,8 +82,7 @@ bool DefaultSearchProviderIsGoogle(Profile* profile) {
|
|
|
| // Returns whether icon NTP is enabled.
|
| bool IsIconNTPEnabled() {
|
| - return StartsWithASCII(base::FieldTrialList::FindFullName("IconNTP"),
|
| - "Enabled", true);
|
| + return variations::GetVariationParamValue("IconNTP", "state") == "enabled";
|
| }
|
|
|
| // Returns whether we are in the Fast NTP experiment or not.
|
|
|