Index: chrome/browser/ui/webui/print_preview/print_preview_ui.h |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.h b/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
index f73b4a6f2a2664fb4b050214cf4fb641925699ea..fa9d79e32597bfe5887d69d01cc03e84bdcebb99 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
@@ -15,6 +15,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/time/time.h" |
#include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" |
+#include "printing/features/features.h" |
class PrintPreviewDataService; |
class PrintPreviewHandler; |
@@ -87,7 +88,7 @@ class PrintPreviewUI : public ConstrainedWebDialogUI { |
// Notifies the Web UI of a print preview request with |request_id|. |
void OnPrintPreviewRequest(int request_id); |
-#if defined(ENABLE_BASIC_PRINTING) |
+#if BUILDFLAG(ENABLE_BASIC_PRINTING) |
// Notifies the Web UI to show the system dialog. |
void OnShowSystemDialog(); |
#endif // ENABLE_BASIC_PRINTING |