diff options
Diffstat (limited to 'bench/ChartBench.cpp')
-rw-r--r-- | bench/ChartBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/ChartBench.cpp b/bench/ChartBench.cpp index f33d2da398..8d05ef179a 100644 --- a/bench/ChartBench.cpp +++ b/bench/ChartBench.cpp @@ -64,7 +64,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). |