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 8f4b7085fb04b103e298781486a92ab68fd78812..2cc808fcc22e5464000b6ad3e8c03546cda20e91 100644 |
--- a/chrome/browser/search/local_ntp_source.cc |
+++ b/chrome/browser/search/local_ntp_source.cc |
@@ -26,6 +26,7 @@ |
#include "chrome/browser/themes/theme_properties.h" |
#include "chrome/browser/themes/theme_service.h" |
#include "chrome/browser/themes/theme_service_factory.h" |
+#include "chrome/common/chrome_features.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/browser_resources.h" |
@@ -47,9 +48,6 @@ |
namespace { |
-base::Feature kOneGoogleBarOnLocalNtpFeature{"OneGoogleBarOnLocalNtp", |
- base::FEATURE_DISABLED_BY_DEFAULT}; |
- |
// Signifies a locally constructed resource, i.e. not from grit/. |
const int kLocalResource = -1; |
@@ -239,7 +237,7 @@ LocalNtpSource::LocalNtpSource(Profile* profile) |
weak_ptr_factory_(this) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
- if (base::FeatureList::IsEnabled(kOneGoogleBarOnLocalNtpFeature)) { |
+ if (base::FeatureList::IsEnabled(features::kOneGoogleBarOnLocalNtp)) { |
one_google_bar_service_ = |
OneGoogleBarServiceFactory::GetForProfile(profile_); |
} |