summaryrefslogtreecommitdiff
path: root/dom/media/platforms
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-17 23:48:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-17 23:48:58 +0000
commitb45ed52246658d991609854503dcd0bcc1d3fc2f (patch)
treea0bfe1e4c95ea2f6a1c0e551b346a5d178ba7dc0 /dom/media/platforms
parent376c829188d797aa164c1d9b0d30a5a1722aa06b (diff)
downloadaura-central-b45ed52246658d991609854503dcd0bcc1d3fc2f.tar.gz
Issue mcp-graveyard/UXP%1224 - Remove constant expressions from /dom
This excludes DOMProxy handlers in dom bindings because that's intertwined with codegen and js that needs to be handled together.
Diffstat (limited to 'dom/media/platforms')
-rw-r--r--dom/media/platforms/PDMFactory.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/media/platforms/PDMFactory.h b/dom/media/platforms/PDMFactory.h
index 2b43fa1ab..a13c99ac0 100644
--- a/dom/media/platforms/PDMFactory.h
+++ b/dom/media/platforms/PDMFactory.h
@@ -49,10 +49,10 @@ public:
void SetCDMProxy(CDMProxy* aProxy);
#endif
- static constexpr int kYUV400 = 0;
- static constexpr int kYUV420 = 1;
- static constexpr int kYUV422 = 2;
- static constexpr int kYUV444 = 3;
+ static const int kYUV400 = 0;
+ static const int kYUV420 = 1;
+ static const int kYUV422 = 2;
+ static const int kYUV444 = 3;
private:
virtual ~PDMFactory();