diff options
author | Moonchild <moonchild@palemoon.org> | 2020-04-30 16:41:13 +0000 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-05-06 19:12:11 +0200 |
commit | aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d (patch) | |
tree | bbfaf4656a3cd4fa12bc79f682a069a4cb3d007c /layout/style/nsCSSProps.h | |
parent | 537c63d600ac5769c509e0f9c7fdd53a294615eb (diff) | |
download | UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar.gz UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar.lz UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar.xz UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.zip |
Issue #80 - De-unify layout/style (redwood)
Diffstat (limited to 'layout/style/nsCSSProps.h')
-rw-r--r-- | layout/style/nsCSSProps.h | 4 |
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)) { |