Index: components/renderer_context_menu/context_menu_content_type.cc |
diff --git a/components/renderer_context_menu/context_menu_content_type.cc b/components/renderer_context_menu/context_menu_content_type.cc |
index 704c13b9ddb4cd1a0583c48564f9081a75d6fced..9ecd12322b0a5aeb849f49c61b0214fb85062394 100644 |
--- a/components/renderer_context_menu/context_menu_content_type.cc |
+++ b/components/renderer_context_menu/context_menu_content_type.cc |
@@ -7,6 +7,7 @@ |
#include "base/bind.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/url_constants.h" |
+#include "printing/features/features.h" |
#include "third_party/WebKit/public/web/WebContextMenuData.h" |
using blink::WebContextMenuData; |
@@ -155,7 +156,7 @@ bool ContextMenuContentType::SupportsGroupInternal(int group) { |
return false; |
case ITEM_GROUP_PRINT_PREVIEW: |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
return true; |
#else |
return false; |