diff options
Diffstat (limited to 'src/animator')
-rw-r--r-- | src/animator/SkScript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/animator/SkScript.cpp b/src/animator/SkScript.cpp index c74b195f3a..934b0abe1a 100644 --- a/src/animator/SkScript.cpp +++ b/src/animator/SkScript.cpp @@ -1532,11 +1532,11 @@ bool SkScriptEngine::ConvertTo(SkScriptEngine* engine, SkDisplayTypes toType, Sk SkString* strPtr = new SkString(); SkASSERT(engine); engine->track(strPtr); - if (type == SkType_Int) + if (type == SkType_Int) { strPtr->appendS32(operand.fS32); - else if (type == SkType_Displayable) + } else if (type == SkType_Displayable) { SkASSERT(0); // must call through instance version instead of static version - else { + } else { if (type != SkType_Float) { success = false; break; |