Index: src/effects/SkLayerDrawLooper.cpp |
diff --git a/src/effects/SkLayerDrawLooper.cpp b/src/effects/SkLayerDrawLooper.cpp |
index 19525eca51f61ab868fcdf2583a634fa4fba4d08..30709c4f1c341647cd480e0a196ef2292dea3a9c 100644 |
--- a/src/effects/SkLayerDrawLooper.cpp |
+++ b/src/effects/SkLayerDrawLooper.cpp |
@@ -337,7 +337,7 @@ SkPaint* SkLayerDrawLooper::Builder::addLayerOnTop(const LayerInfo& info) { |
if (NULL == fRecs) { |
fRecs = rec; |
} else { |
- SkASSERT(NULL != fTopRec); |
+ SkASSERT(fTopRec); |
fTopRec->fNext = rec; |
} |
fTopRec = rec; |