Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index ea62570ea0de14888bc3a3cc2e4d5b7b4b6c9665..452da1f083287fc80f5c9350207bf6c3294efc68 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -619,7 +619,7 @@ int nanobench_main() { |
#endif |
cpu_bench( overhead, bench.get(), canvas, samples.get()); |
- if (canvas && !FLAGS_writePath.isEmpty() && NULL != FLAGS_writePath[0]) { |
+ if (canvas && !FLAGS_writePath.isEmpty() && FLAGS_writePath[0]) { |
SkString pngFilename = SkOSPath::Join(FLAGS_writePath[0], config); |
pngFilename = SkOSPath::Join(pngFilename.c_str(), bench->getName()); |
pngFilename.append(".png"); |