Index: bench/HairlinePathBench.cpp |
diff --git a/bench/HairlinePathBench.cpp b/bench/HairlinePathBench.cpp |
index e7e2b428e8f28271dd170994e49e45cdb2e6657a..7b413c4677d3ba64d5f95331db3b65c69edc5a29 100644 |
--- a/bench/HairlinePathBench.cpp |
+++ b/bench/HairlinePathBench.cpp |
@@ -181,7 +181,7 @@ public: |
#if SK_SUPPORT_GPU |
GrContext* context = canvas->getGrContext(); |
// This is a workaround for skbug.com/2078. See also skbug.com/2033. |
- if (NULL != context) { |
+ if (context) { |
GrTestTarget tt; |
context->getTestTarget(&tt); |
if (tt.target()->caps()->pathRenderingSupport()) { |