Index: src/animator/SkScriptRuntime.cpp |
diff --git a/src/animator/SkScriptRuntime.cpp b/src/animator/SkScriptRuntime.cpp |
index 07bd4c9c2f1fa12881a5db8df963495b69e04049..78d9d5c2081b092506562c69796c5607ff4aa210 100644 |
--- a/src/animator/SkScriptRuntime.cpp |
+++ b/src/animator/SkScriptRuntime.cpp |
@@ -249,7 +249,7 @@ |
operand[0].fScalar = operand[0].fScalar == 0 ? SK_ScalarNaN : |
operand[0].fScalar > 0 ? SK_ScalarMax : -SK_ScalarMax; |
else |
- operand[0].fScalar = operand[0].fScalar / operand[1].fScalar; |
+ operand[0].fScalar = SkScalarDiv(operand[0].fScalar, operand[1].fScalar); |
break; |
case SkScriptEngine2::kEqualInt: |
operand[0].fS32 = operand[0].fS32 == operand[1].fS32; |