1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

No Issue - Fix a typo in DOMSVGPoint constructor.

Bug 1442972

DOMSVGPoint constructor checked mX is finite twice, leaving out mY finite.

-- Stupidly rushed.  Shambles.
This commit is contained in:
Shadow
2025-05-15 14:09:07 +00:00
committed by roytam1
parent 9847e9f759
commit a8f9e383fa
+1 -1
View File
@@ -81,7 +81,7 @@ public:
{
mPt.mX = aPt.x;
mPt.mY = aPt.y;
NS_ASSERTION(IsFinite(mPt.mX) && IsFinite(mPt.mX),
NS_ASSERTION(IsFinite(mPt.mX) && IsFinite(mPt.mY),
"DOMSVGPoint coords are not finite");
}