commit f98af662d58a91c89dcfeec1c84a6fa7e78f13c3
parent 3457a33a6b6727e8567a9aafcbd1c4f96c192e1f
Author: Timothy Nikkel <tnikkel@gmail.com>
Date: Fri, 17 Oct 2025 08:11:29 +0000
Bug 1994935. Remove random unintentional but harmless unary + in Matrix code. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D269004
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gfx/2d/Matrix.h b/gfx/2d/Matrix.h
@@ -2424,8 +2424,8 @@ class Matrix4x4TypedFlagged
PointTyped<TargetUnits, F> TransformPointSimple(
const PointTyped<SourceUnits, F>& aPoint) const {
PointTyped<SourceUnits, F> temp;
- temp.x = aPoint.x * _11 + aPoint.y * +_21 + _41;
- temp.y = aPoint.x * _12 + aPoint.y * +_22 + _42;
+ temp.x = aPoint.x * _11 + aPoint.y * _21 + _41;
+ temp.y = aPoint.x * _12 + aPoint.y * _22 + _42;
return temp;
}