Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index ce6c90a6518c6f8877690607f6e8a5dcf675b09c..62571b82516de3df883e82d740c172a18cd7bcc6 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -114,6 +114,7 @@ |
#include "content/public/browser/user_metrics.h" |
#include "content/public/common/content_constants.h" |
#include "content/public/common/page_zoom.h" |
+#include "printing/features/features.h" |
#include "ui/base/l10n/l10n_util.h" |
#if defined(OS_CHROMEOS) |
@@ -377,7 +378,7 @@ void ProfileImpl::RegisterProfilePrefs( |
registry->RegisterStringPref(prefs::kHomePage, |
std::string(), |
home_page_flags); |
-#if defined(ENABLE_PRINTING) |
+#if BUILDFLAG(ENABLE_PRINTING) |
registry->RegisterBooleanPref(prefs::kPrintingEnabled, true); |
#endif |
registry->RegisterBooleanPref(prefs::kPrintPreviewDisabled, false); |