Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui.cc |
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui.cc |
index facd5bacf6fe1df7a6c350cd018e2052c848b2d7..130f1d511ef1ef562e0956269e08d98534d7acf6 100644 |
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui.cc |
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui.cc |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_ui.h" |
#include "content/public/browser/web_ui_data_source.h" |
+#include "printing/features/features.h" |
namespace { |
@@ -99,7 +100,7 @@ content::WebUIDataSource* CreateLocalDiscoveryHTMLSource() { |
source->AddLocalizedString("backButton", IDS_SETTINGS_TITLE); |
// Cloud print connector-related strings. |
-#if defined(ENABLE_PRINT_PREVIEW) && !defined(OS_CHROMEOS) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OS_CHROMEOS) |
source->AddLocalizedString("cloudPrintConnectorEnablingButton", |
IDS_OPTIONS_CLOUD_PRINT_CONNECTOR_ENABLING_BUTTON); |
source->AddLocalizedString("cloudPrintConnectorDisabledButton", |