Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index dbf5fb9ce31be344486eeeb22b926d79a90432b5..a7c6460508cce3161a8ab2793861549b11f9478a 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -251,7 +251,7 @@ static void test_imagepeek(skiatest::Reporter* reporter, GrContextFactory* facto |
GrContext* ctx = NULL; |
#if SK_SUPPORT_GPU |
ctx = factory->get(GrContextFactory::kNative_GLContextType); |
- if (!ctx) { |
+ if (NULL == ctx) { |
return; |
} |
#endif |