diff options
author | Moonchild <moonchild@palemoon.org> | 2021-07-24 06:42:30 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-07-24 06:42:30 +0000 |
commit | 62037431601214c459ec1f9bd48a2f2ea4a2e312 (patch) | |
tree | c0cef42b809095afc309fd7e385baaa95e6b4b3c /layout/style/nsRuleNode.cpp | |
parent | 738448aa0d23fae91dbb5ad06cdeea1a96038c5e (diff) | |
download | uxp-62037431601214c459ec1f9bd48a2f2ea4a2e312.tar.gz |
Issue #1781 - Follow-up: fix debug assert in MergeMultiplicativeR()
Diffstat (limited to 'layout/style/nsRuleNode.cpp')
-rw-r--r-- | layout/style/nsRuleNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp index 74ba732885..9d0821406b 100644 --- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -4640,8 +4640,8 @@ struct LengthPercentNumberCalcOps : public css::NumbersAlreadyNormalizedOps MergeMultiplicativeR(nsCSSUnit aCalcFunction, result_type aValue1, float aValue2) { - MOZ_ASSERT(aCalcFunction == eCSSUnit_Calc_TimesR || - aCalcFunction == eCSSUnit_Divided, + MOZ_ASSERT(aCalcFunction == eCSSUnit_Calc_Times_R || + aCalcFunction == eCSSUnit_Calc_Divided, "unexpected unit"); result_type result; if (aCalcFunction == eCSSUnit_Calc_Divided) { |