aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/image.cpp')
-rw-r--r--gm/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/image.cpp b/gm/image.cpp
index ff184d18b3..e405a053b2 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);
}