Index: gm/image.cpp |
diff --git a/gm/image.cpp b/gm/image.cpp |
index ff184d18b3e42cf9fb1d902563df7fb3e788fab6..e405a053b2ddc5f146aadf32017c5422861c54f9 100644 |
--- a/gm/image.cpp |
+++ b/gm/image.cpp |
@@ -192,7 +192,7 @@ protected: |
canvas->translate(80, 0); |
test_surface(canvas, surf1, true); |
#if SK_SUPPORT_GPU |
- if (NULL != ctx) { |
+ if (ctx) { |
canvas->translate(80, 0); |
test_surface(canvas, surf4, true); |
} |