Index: components/printing/test/print_test_content_renderer_client.cc |
diff --git a/components/printing/test/print_test_content_renderer_client.cc b/components/printing/test/print_test_content_renderer_client.cc |
index ef569f376a04e86939322edc0bc012ef65368dbb..a072e986694479507252e4b6be7a3dafae3f48b6 100644 |
--- a/components/printing/test/print_test_content_renderer_client.cc |
+++ b/components/printing/test/print_test_content_renderer_client.cc |
@@ -6,6 +6,7 @@ |
#include "base/memory/ptr_util.h" |
#include "components/printing/renderer/print_web_view_helper.h" |
+#include "printing/features/features.h" |
#include "third_party/WebKit/public/web/WebElement.h" |
namespace printing { |
@@ -23,7 +24,7 @@ class PrintWebViewHelperDelegate : public PrintWebViewHelper::Delegate { |
return blink::WebElement(); |
} |
bool IsPrintPreviewEnabled() override { |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
return true; |
#else |
return false; |