Index: tests/MatrixTest.cpp |
diff --git a/tests/MatrixTest.cpp b/tests/MatrixTest.cpp |
index 6cba60421669d16807cc97930508ce1a23450607..414aab2f9a85b77e3d4118bb7b97859486f2c053 100644 |
--- a/tests/MatrixTest.cpp |
+++ b/tests/MatrixTest.cpp |
@@ -984,7 +984,7 @@ |
mat.mapPoints((SkPoint*)&dst[0].fLeft, (SkPoint*)&src.fLeft, 2); |
dst[0].sort(); |
mat.mapRect(&dst[1], src); |
- dst[2] = mat.mapRectScaleTranslate(src); |
+ mat.mapRectScaleTranslate(&dst[2], src); |
REPORTER_ASSERT(r, dst[0] == dst[1]); |
REPORTER_ASSERT(r, dst[0] == dst[2]); |