Index: chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc b/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc |
index 28d93d2399021d707aa18f6b010070bed3edf2e6..2e9a9580ebd3ad40c297736d0717e401fe095625 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc |
@@ -21,6 +21,7 @@ |
#include "content/public/test/browser_test_utils.h" |
#include "content/public/test/test_navigation_observer.h" |
#include "content/public/test/test_utils.h" |
+#include "printing/features/features.h" |
#include "url/url_constants.h" |
#if defined(OS_WIN) |
@@ -56,7 +57,7 @@ IN_PROC_BROWSER_TEST_F(PrintPreviewTest, PrintCommands) { |
ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); |
-#if defined(ENABLE_BASIC_PRINTING) && !defined(OS_CHROMEOS) |
+#if BUILDFLAG(ENABLE_BASIC_PRINTING) && !defined(OS_CHROMEOS) |
// This is analagous to ENABLE_BASIC_PRINT_DIALOG but helps to verify |
// that it is defined as expected. |
bool is_basic_print_expected = true; |