Index: src/animator/SkMemberInfo.cpp |
diff --git a/src/animator/SkMemberInfo.cpp b/src/animator/SkMemberInfo.cpp |
index 5e54b53aed7d3b690de969e33fe3e4c2095c5ca0..5cdc8d0de6654891e57d296477690f7dff681610 100644 |
--- a/src/animator/SkMemberInfo.cpp |
+++ b/src/animator/SkMemberInfo.cpp |
@@ -303,7 +303,7 @@ scriptCommon: { |
return false; |
} |
if (type == SkType_MSec) |
- scriptValue.fOperand.fMSec = SkScalarMulRound(scriptValue.fOperand.fScalar, 1000); |
+ scriptValue.fOperand.fMSec = SkScalarRoundToInt(scriptValue.fOperand.fScalar * 1000); |
scriptValue.fType = type; |
break; |
noScriptString: |