Index: src/animator/SkOperandIterpolator.cpp |
diff --git a/src/animator/SkOperandIterpolator.cpp b/src/animator/SkOperandIterpolator.cpp |
index 7822ee286e94468c7217733d90d8f8f761d985ed..84b32823e1d0779a29fa57484a60762fb42bfeb1 100644 |
--- a/src/animator/SkOperandIterpolator.cpp |
+++ b/src/animator/SkOperandIterpolator.cpp |
@@ -81,7 +81,7 @@ SkInterpolatorBase::Result SkOperandInterpolator::timeToValues(SkMSec time, SkOp |
for (int i = fElemCount - 1; i >= 0; --i) { |
int32_t a = prevSrc[i].fS32; |
int32_t b = nextSrc[i].fS32; |
- values[i].fS32 = a + SkScalarRound((b - a) * T); |
+ values[i].fS32 = a + SkScalarRoundToInt((b - a) * T); |
} |
} else |
memcpy(values, prevSrc, sizeof(SkOperand) * fElemCount); |