Index: src/animator/SkScript.cpp |
diff --git a/src/animator/SkScript.cpp b/src/animator/SkScript.cpp |
index c430695705d97aacab83ddb63e21182ceec5ccac..1d04d1b27630bafe162cf40f872f524ed8774521 100644 |
--- a/src/animator/SkScript.cpp |
+++ b/src/animator/SkScript.cpp |
@@ -1387,7 +1387,7 @@ |
if (operand2.fScalar == 0) |
operand2.fScalar = operand1.fScalar == 0 ? SK_ScalarNaN : operand1.fScalar > 0 ? SK_ScalarMax : -SK_ScalarMax; |
else |
- operand2.fScalar = operand1.fScalar / operand2.fScalar; |
+ operand2.fScalar = SkScalarDiv(operand1.fScalar, operand2.fScalar); |
break; |
case kEqualInt: |
operand2.fS32 = operand1.fS32 == operand2.fS32; |