summaryrefslogtreecommitdiffstats
path: root/src/core/browser_message_filter_qt.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/browser_message_filter_qt.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/browser_message_filter_qt.h')
-rw-r--r--src/core/browser_message_filter_qt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/browser_message_filter_qt.h b/src/core/browser_message_filter_qt.h
index 75ca9fd84..fe4897ece 100644
--- a/src/core/browser_message_filter_qt.h
+++ b/src/core/browser_message_filter_qt.h
@@ -41,6 +41,7 @@
#define BROWSER_MESSAGE_FILTER_QT_H
#include "content/public/browser/browser_message_filter.h"
+#include "ppapi/features/features.h"
#include <QtGlobal>
@@ -53,7 +54,7 @@ public:
private:
bool OnMessageReceived(const IPC::Message& message) Q_DECL_OVERRIDE;
-#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).