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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user