Index: src/utils/SkMatrix44.cpp |
diff --git a/src/utils/SkMatrix44.cpp b/src/utils/SkMatrix44.cpp |
index f4b6aa48040859b84bc39b71b977c443c6684f4a..a7133ec1a75fb9d8c82fae09aa31197b250e7b12 100644 |
--- a/src/utils/SkMatrix44.cpp |
+++ b/src/utils/SkMatrix44.cpp |
@@ -383,11 +383,11 @@ |
} else { |
for (int j = 0; j < 4; j++) { |
for (int i = 0; i < 4; i++) { |
- SkMScalar value = 0; |
+ double value = 0; |
for (int k = 0; k < 4; k++) { |
- value += a.fMat[k][i] * b.fMat[j][k]; |
+ value += SkMScalarToDouble(a.fMat[k][i]) * b.fMat[j][k]; |
} |
- *result++ = value; |
+ *result++ = SkDoubleToMScalar(value); |
} |
} |
} |