Index: components/printing/renderer/print_web_view_helper_linux.cc |
diff --git a/components/printing/renderer/print_web_view_helper_linux.cc b/components/printing/renderer/print_web_view_helper_linux.cc |
index 5f6cdd540dc57d6d7e3be9dec037d4742f1ffe8e..498432cedbfab4604cf2b55e0ad9487e0343df9b 100644 |
--- a/components/printing/renderer/print_web_view_helper_linux.cc |
+++ b/components/printing/renderer/print_web_view_helper_linux.cc |
@@ -9,6 +9,7 @@ |
#include "base/logging.h" |
#include "build/build_config.h" |
#include "components/printing/common/print_messages.h" |
+#include "printing/features/features.h" |
#include "printing/metafile_skia_wrapper.h" |
#if defined(OS_ANDROID) |
@@ -42,7 +43,7 @@ bool SaveToFD(const printing::Metafile& metafile, |
namespace printing { |
-#if defined(ENABLE_BASIC_PRINTING) |
+#if BUILDFLAG(ENABLE_BASIC_PRINTING) |
bool PrintWebViewHelper::PrintPagesNative(blink::WebLocalFrame* frame, |
int page_count) { |
PdfMetafileSkia metafile(PDF_SKIA_DOCUMENT_TYPE); |
@@ -100,6 +101,6 @@ bool PrintWebViewHelper::PrintPagesNative(blink::WebLocalFrame* frame, |
return true; |
#endif // defined(OS_ANDROID) |
} |
-#endif // defined(ENABLE_BASIC_PRINTING) |
+#endif // BUILDFLAG(ENABLE_BASIC_PRINTING) |
} // namespace printing |