Index: bench/ResultsWriter.h |
diff --git a/bench/ResultsWriter.h b/bench/ResultsWriter.h |
index 56283732ec020f23f39a73d46a2f81d388d96d95..f17bce3d930dbd9de8111d937cafb4f4ab003fd0 100644 |
--- a/bench/ResultsWriter.h |
+++ b/bench/ResultsWriter.h |
@@ -98,7 +98,7 @@ public: |
fBench = &fResults[id.c_str()]; |
} |
virtual void config(const char name[]) { |
- SkASSERT(NULL != fBench); |
+ SkASSERT(fBench); |
fConfig = &(*fBench)[name]; |
} |
virtual void configOption(const char name[], const char* value) { |
@@ -109,7 +109,7 @@ public: |
if (sk_double_isnan(ms)) { |
return; |
} |
- SkASSERT(NULL != fConfig); |
+ SkASSERT(fConfig); |
(*fConfig)[name] = ms; |
} |