Index: printing/printing_context_win.cc |
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc |
index 0b4a89b5c6aea2c5317ed25eea19d9681d6e2596..1a54439484e7c5ebd2335302d01815151cd8e9c0 100644 |
--- a/printing/printing_context_win.cc |
+++ b/printing/printing_context_win.cc |
@@ -14,6 +14,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "printing/backend/print_backend.h" |
#include "printing/backend/win_helper.h" |
+#include "printing/features/features.h" |
#include "printing/print_settings_initializer_win.h" |
#include "printing/printed_document.h" |
#include "printing/printing_context_system_dialog_win.h" |
@@ -35,7 +36,7 @@ void AssignResult(PrintingContext::Result* out, PrintingContext::Result in) { |
// static |
std::unique_ptr<PrintingContext> PrintingContext::Create(Delegate* delegate) { |
-#if defined(ENABLE_BASIC_PRINTING) |
+#if BUILDFLAG(ENABLE_BASIC_PRINTING) |
return base::WrapUnique(new PrintingContextSystemDialogWin(delegate)); |
#else |
return base::WrapUnique(new PrintingContextWin(delegate)); |