From 1925b1afb30f119fa6c0733a36d83215b7bac8f7 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 5 Apr 2017 11:40:15 +0200 Subject: Fix pepper cdms feature Is now also buildflag and not command line define. Change-Id: I3c687981928239f669bd285797b5ceee4e994822 Reviewed-by: Michal Klocek --- src/core/common/qt_messages.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/common/qt_messages.h') diff --git a/src/core/common/qt_messages.h b/src/core/common/qt_messages.h index 2c971aab2..d998db20e 100644 --- a/src/core/common/qt_messages.h +++ b/src/core/common/qt_messages.h @@ -6,6 +6,7 @@ #include "content/public/common/common_param_traits.h" #include "ipc/ipc_message_macros.h" +#include "ppapi/features/features.h" #include "user_script_data.h" @@ -72,7 +73,7 @@ IPC_MESSAGE_ROUTED1(WebChannelIPCTransportHost_SendMessage, std::vector /* // Misc messages // These are messages sent from the renderer to the browser process. -#if defined(ENABLE_PEPPER_CDMS) +#if BUILDFLAG(ENABLE_PEPPER_CDMS) // Returns whether any internal plugin supporting |mime_type| is registered and // enabled. Does not determine whether the plugin can actually be instantiated // (e.g. whether it has all its dependencies). -- cgit v1.2.3