aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ResultsWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'bench/ResultsWriter.h')
-rw-r--r--bench/ResultsWriter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/ResultsWriter.h b/bench/ResultsWriter.h
index 56283732ec..f17bce3d93 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;
}