aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/HairlinePathBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/HairlinePathBench.cpp')
-rw-r--r--bench/HairlinePathBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/HairlinePathBench.cpp b/bench/HairlinePathBench.cpp
index e7e2b428e8..7b413c4677 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()) {