Index: bench/XfermodeBench.cpp |
diff --git a/bench/XfermodeBench.cpp b/bench/XfermodeBench.cpp |
index f73943bcf7e1bf8d56fecd5a1ecef11fe4de66a6..54272daf9b431a127ed903e618253326ef8ab06b 100644 |
--- a/bench/XfermodeBench.cpp |
+++ b/bench/XfermodeBench.cpp |
@@ -18,12 +18,12 @@ class XfermodeBench : public Benchmark { |
public: |
XfermodeBench(SkXfermode::Mode mode) { |
fXfermode.reset(SkXfermode::Create(mode)); |
- SkASSERT(NULL != fXfermode.get() || SkXfermode::kSrcOver_Mode == mode); |
+ SkASSERT(fXfermode.get() || SkXfermode::kSrcOver_Mode == mode); |
fName.printf("Xfermode_%s", SkXfermode::ModeName(mode)); |
} |
XfermodeBench(SkXfermode* xferMode, const char* name) { |
- SkASSERT(NULL != xferMode); |
+ SkASSERT(xferMode); |
fXfermode.reset(xferMode); |
fName.printf("Xfermode_%s", name); |
} |