diff options
Diffstat (limited to 'src/animator/SkScript.cpp')
-rw-r--r-- | src/animator/SkScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animator/SkScript.cpp b/src/animator/SkScript.cpp index 1d04d1b276..c430695705 100644 --- a/src/animator/SkScript.cpp +++ b/src/animator/SkScript.cpp @@ -1387,7 +1387,7 @@ bool SkScriptEngine::processOp() { if (operand2.fScalar == 0) operand2.fScalar = operand1.fScalar == 0 ? SK_ScalarNaN : operand1.fScalar > 0 ? SK_ScalarMax : -SK_ScalarMax; else - operand2.fScalar = SkScalarDiv(operand1.fScalar, operand2.fScalar); + operand2.fScalar = operand1.fScalar / operand2.fScalar; break; case kEqualInt: operand2.fS32 = operand1.fS32 == operand2.fS32; |