Index: components/renderer_context_menu/render_view_context_menu_base.cc |
diff --git a/components/renderer_context_menu/render_view_context_menu_base.cc b/components/renderer_context_menu/render_view_context_menu_base.cc |
index 63d8df500f6438c23031d9b5a00e28f22a499e14..7f979cf793749eacb2a05ce99fef2b17bae4dfb1 100644 |
--- a/components/renderer_context_menu/render_view_context_menu_base.cc |
+++ b/components/renderer_context_menu/render_view_context_menu_base.cc |
@@ -16,6 +16,7 @@ |
#include "content/public/browser/render_widget_host_view.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/menu_item.h" |
+#include "ppapi/features/features.h" |
#include "third_party/WebKit/public/web/WebContextMenuData.h" |
using blink::WebContextMenuData; |
@@ -309,7 +310,7 @@ void RenderViewContextMenuBase::ExecuteCommand(int id, int event_flags) { |
if (IsContentCustomCommandId(id)) { |
unsigned action = id - content_context_custom_first; |
const content::CustomContextMenuContext& context = params_.custom_context; |
-#if defined(ENABLE_PLUGINS) |
+#if BUILDFLAG(ENABLE_PLUGINS) |
if (context.request_id && !context.is_pepper_menu) |
HandleAuthorizeAllPlugins(); |
#endif |