aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/utils/SkMatrix44.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/SkMatrix44.cpp b/src/utils/SkMatrix44.cpp
index a7133ec1a7..f4b6aa4804 100644
--- a/src/utils/SkMatrix44.cpp
+++ b/src/utils/SkMatrix44.cpp
@@ -383,11 +383,11 @@ void SkMatrix44::setConcat(const SkMatrix44& a, const SkMatrix44& b) {
} else {
for (int j = 0; j < 4; j++) {
for (int i = 0; i < 4; i++) {
- double value = 0;
+ SkMScalar value = 0;
for (int k = 0; k < 4; k++) {
- value += SkMScalarToDouble(a.fMat[k][i]) * b.fMat[j][k];
+ value += a.fMat[k][i] * b.fMat[j][k];
}
- *result++ = SkDoubleToMScalar(value);
+ *result++ = value;
}
}
}