Index: chrome/browser/search_engines/template_url_service_factory.cc |
diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc |
index 464441bce1f5adef08af56033d8ee276be2ceedc..e2d93663a73bf55fcd25ec68a866ba1fe550c7c7 100644 |
--- a/chrome/browser/search_engines/template_url_service_factory.cc |
+++ b/chrome/browser/search_engines/template_url_service_factory.cc |
@@ -23,8 +23,9 @@ |
#include "components/search_engines/default_search_manager.h" |
#include "components/search_engines/search_engines_pref_names.h" |
#include "components/search_engines/template_url_service.h" |
+#include "rlz/features/features.h" |
-#if defined(ENABLE_RLZ) |
+#if BUILDFLAG(ENABLE_RLZ) |
#include "components/rlz/rlz_tracker.h" |
#endif |
@@ -43,7 +44,7 @@ TemplateURLServiceFactory* TemplateURLServiceFactory::GetInstance() { |
std::unique_ptr<KeyedService> TemplateURLServiceFactory::BuildInstanceFor( |
content::BrowserContext* context) { |
base::Closure dsp_change_callback; |
-#if defined(ENABLE_RLZ) |
+#if BUILDFLAG(ENABLE_RLZ) |
dsp_change_callback = base::Bind( |
base::IgnoreResult(&rlz::RLZTracker::RecordProductEvent), rlz_lib::CHROME, |
rlz::RLZTracker::ChromeOmnibox(), rlz_lib::SET_TO_GOOGLE); |