Chromium Code Reviews| Index: src/animator/SkAnimatorScript.cpp |
| =================================================================== |
| --- src/animator/SkAnimatorScript.cpp (revision 9798) |
| +++ src/animator/SkAnimatorScript.cpp (working copy) |
| @@ -165,7 +165,7 @@ |
| displayable = engine->fWorking; |
| if (SK_LITERAL_STR_EQUAL("parent", token, len)) { |
| SkDisplayable* parent = displayable->getParent(); |
| - if (parent == false) |
| + if (parent == NULL) |
| parent = engine->fParent; |
| if (parent) { |
| value->fOperand.fDisplayable = parent; |