Index: tools/PictureBenchmark.cpp |
diff --git a/tools/PictureBenchmark.cpp b/tools/PictureBenchmark.cpp |
index 8a714ca239d73db5c2c5ead9d4d07c026a1fd982..15b6173aa148ea19c5d477286ec35bd8861a790a 100644 |
--- a/tools/PictureBenchmark.cpp |
+++ b/tools/PictureBenchmark.cpp |
@@ -73,7 +73,7 @@ void PictureBenchmark::run(SkPicture* pict) { |
fRenderer->setup(); |
if (fPreprocess) { |
- if (NULL != fRenderer->getCanvas()) { |
+ if (fRenderer->getCanvas()) { |
fRenderer->getCanvas()->EXPERIMENTAL_optimize(fRenderer->getPicture()); |
} |
} |