Index: components/printing/common/print_messages.cc |
diff --git a/components/printing/common/print_messages.cc b/components/printing/common/print_messages.cc |
index a9914b319662c7b7c7b89c039a74ef7b2f6d152e..5820bb15838fdaadbfeace770005476cac26b8ec 100644 |
--- a/components/printing/common/print_messages.cc |
+++ b/components/printing/common/print_messages.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/strings/string16.h" |
+#include "printing/features/features.h" |
#include "ui/gfx/geometry/size.h" |
#define IPC_MESSAGE_IMPL |
@@ -104,7 +105,7 @@ void PrintMsg_PrintPages_Params::Reset() { |
pages = std::vector<int>(); |
} |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
PrintHostMsg_RequestPrintPreview_Params:: |
PrintHostMsg_RequestPrintPreview_Params() |
: is_modifiable(false), |
@@ -126,4 +127,4 @@ PrintHostMsg_SetOptionsFromDocument_Params:: |
PrintHostMsg_SetOptionsFromDocument_Params:: |
~PrintHostMsg_SetOptionsFromDocument_Params() { |
} |
-#endif // defined(ENABLE_PRINT_PREVIEW) |
+#endif // BUILDFLAG(ENABLE_PRINT_PREVIEW) |