Index: samplecode/SampleChart.cpp |
diff --git a/samplecode/SampleChart.cpp b/samplecode/SampleChart.cpp |
index 630ff6edc30b2850131c1a86b99550b330490476..12a6afe0e3d7ec9e7fcb683645e365bf239169eb 100644 |
--- a/samplecode/SampleChart.cpp |
+++ b/samplecode/SampleChart.cpp |
@@ -60,7 +60,7 @@ static void gen_paths(const SkTDArray<SkScalar>& topData, |
x += xDelta; |
} |
- if (NULL != bottomData) { |
+ if (bottomData) { |
SkASSERT(bottomData->count() == topData.count()); |
// iterate backwards over the previous graph's data to generate the bottom of the filled |
// area (and account for leftShift). |