summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSProps.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-30 16:41:13 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-30 16:41:13 +0000
commitae707c8dbb26942e11c231965afc3505ba2f7d93 (patch)
tree92cd2f822be4867ee9ecc0dc9312b55367655f0a /layout/style/nsCSSProps.h
parenta78a87502d9973893d2d19daa17e75bc1a1043ca (diff)
downloadUXP-ae707c8dbb26942e11c231965afc3505ba2f7d93.tar
UXP-ae707c8dbb26942e11c231965afc3505ba2f7d93.tar.gz
UXP-ae707c8dbb26942e11c231965afc3505ba2f7d93.tar.lz
UXP-ae707c8dbb26942e11c231965afc3505ba2f7d93.tar.xz
UXP-ae707c8dbb26942e11c231965afc3505ba2f7d93.zip
Issue #80 - De-unify layout/style
Diffstat (limited to 'layout/style/nsCSSProps.h')
-rw-r--r--layout/style/nsCSSProps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/style/nsCSSProps.h b/layout/style/nsCSSProps.h
index e67e1d41d..aabbac07a 100644
--- a/layout/style/nsCSSProps.h
+++ b/layout/style/nsCSSProps.h
@@ -345,7 +345,7 @@ public:
// KTableEntry objects can be initialized either with an int16_t value
// or a value of an enumeration type that can fit within an int16_t.
- constexpr KTableEntry(nsCSSKeyword aKeyword, int16_t aValue)
+ KTableEntry(nsCSSKeyword aKeyword, int16_t aValue)
: mKeyword(aKeyword)
, mValue(aValue)
{
@@ -353,7 +353,7 @@ public:
template<typename T,
typename = typename std::enable_if<std::is_enum<T>::value>::type>
- constexpr KTableEntry(nsCSSKeyword aKeyword, T aValue)
+ KTableEntry(nsCSSKeyword aKeyword, T aValue)
: mKeyword(aKeyword)
, mValue(static_cast<int16_t>(aValue))
{