Index: src/animator/SkScriptRuntime.cpp |
=================================================================== |
--- src/animator/SkScriptRuntime.cpp (revision 9798) |
+++ src/animator/SkScriptRuntime.cpp (working copy) |
@@ -200,13 +200,13 @@ |
operand[0].fScalar = SkScriptEngine2::IntToScalar(operand[op - SkScriptEngine2::kIntToScalar].fS32); |
break; |
case SkScriptEngine2::kStringToInt: |
- if (SkParse::FindS32(operand[0].fString->c_str(), &operand[0].fS32) == false) |
+ if (SkParse::FindS32(operand[0].fString->c_str(), &operand[0].fS32) == NULL) |
return false; |
break; |
case SkScriptEngine2::kStringToScalar: |
case SkScriptEngine2::kStringToScalar2: |
if (SkParse::FindScalar(operand[0].fString->c_str(), |
- &operand[op - SkScriptEngine2::kStringToScalar].fScalar) == false) |
+ &operand[op - SkScriptEngine2::kStringToScalar].fScalar) == NULL) |
return false; |
break; |
case SkScriptEngine2::kScalarToInt: |