summaryrefslogtreecommitdiffstats
path: root/src/core/common/qt_messages.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-04-05 11:40:15 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-04-06 08:28:13 +0000
commit1925b1afb30f119fa6c0733a36d83215b7bac8f7 (patch)
treeea6c9b5baaa079ec4beba368ecdb4318cd7655fb /src/core/common/qt_messages.h
parent6252f0231f85e5f4e6b887a6814d4968acae13bd (diff)
Fix pepper cdms feature
Is now also buildflag and not command line define. Change-Id: I3c687981928239f669bd285797b5ceee4e994822 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/common/qt_messages.h')
-rw-r--r--src/core/common/qt_messages.h3
1 files changed, 2 insertions, 1 deletions
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<char> /*
// 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).