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 182a4169792113f7f2c491234e1c466547713f5a..6fab4ea433a99fc741dfb186885361169e00d9b6 100644 |
--- a/chrome/browser/search/local_ntp_source.cc |
+++ b/chrome/browser/search/local_ntp_source.cc |
@@ -27,6 +27,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" |
@@ -48,9 +49,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; |
@@ -240,7 +238,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_); |
} |