| Index: chrome/browser/favicon/favicon_tab_helper.cc
|
| diff --git a/chrome/browser/favicon/favicon_tab_helper.cc b/chrome/browser/favicon/favicon_tab_helper.cc
|
| index 80940039538ea403011162e71effdb0e8acd1c79..bc96548b1b81e22aa9d634270fd75bda75b9de2d 100644
|
| --- a/chrome/browser/favicon/favicon_tab_helper.cc
|
| +++ b/chrome/browser/favicon/favicon_tab_helper.cc
|
| @@ -21,6 +21,7 @@
|
| #include "components/favicon/core/favicon_tab_helper_observer.h"
|
| #include "components/favicon_base/favicon_types.h"
|
| #include "components/history/core/browser/history_service.h"
|
| +#include "components/variations/variations_associated_data.h"
|
| #include "content/public/browser/favicon_status.h"
|
| #include "content/public/browser/invalidate_type.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| @@ -47,8 +48,7 @@ namespace {
|
|
|
| // Returns whether icon NTP is enabled.
|
| bool IsIconNTPEnabled() {
|
| - return StartsWithASCII(base::FieldTrialList::FindFullName("IconNTP"),
|
| - "Enabled", true);
|
| + return variations::GetVariationParamValue("IconNTP", "state") == "enabled";
|
| }
|
|
|
| } // namespace
|
|
|