Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
index 1119b974cb21344b9e07167d50ae48668930743d..648b55c483b6429bf875438a5b146188eda3a057 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
@@ -78,6 +78,7 @@ |
#include "net/base/url_util.h" |
#include "printing/backend/print_backend.h" |
#include "printing/backend/print_backend_consts.h" |
+#include "printing/features/features.h" |
#include "printing/pdf_render_settings.h" |
#include "printing/print_settings.h" |
#include "printing/printing_context.h" |
@@ -970,7 +971,7 @@ void PrintPreviewHandler::HandlePrint(const base::ListValue* args) { |
ReportUserActionHistogram(PRINT_WITH_CLOUD_PRINT); |
SendCloudPrintJob(data.get()); |
} else { |
-#if defined(ENABLE_BASIC_PRINTING) |
+#if BUILDFLAG(ENABLE_BASIC_PRINTING) |
bool system_dialog = false; |
settings->GetBoolean(printing::kSettingShowSystemDialog, &system_dialog); |
if (system_dialog) { |
@@ -1023,7 +1024,7 @@ void PrintPreviewHandler::HandlePrint(const base::ListValue* args) { |
} |
#else |
NOTREACHED(); |
-#endif // defined(ENABLE_BASIC_PRINTING) |
+#endif // BUILDFLAG(ENABLE_BASIC_PRINTING) |
} |
} |