Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: src/animator/SkAnimatorScript.cpp

Issue 18118004: Keep Skia compiling on Clang by changing false to NULL (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/animator/SkScriptRuntime.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/animator/SkScriptRuntime.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698