Index: tests/GrGLSLPrettyPrintTest.cpp |
diff --git a/tests/GrGLSLPrettyPrintTest.cpp b/tests/GrGLSLPrettyPrintTest.cpp |
index 827a27b4c519db2052d912a8cc9754bd34dda6df..1a5152fa7576468de8d0b77c3f17f1075b10085c 100644 |
--- a/tests/GrGLSLPrettyPrintTest.cpp |
+++ b/tests/GrGLSLPrettyPrintTest.cpp |
@@ -5,6 +5,8 @@ |
* found in the LICENSE file. |
*/ |
+#include "SkTypes.h" |
+ |
#if SK_SUPPORT_GPU |
#include "Test.h" |
#include "gl/GrGLSLPrettyPrint.h" |
@@ -117,7 +119,7 @@ DEF_TEST(GrGLSLPrettyPrint, r) { |
// Just test we don't crash with garbage input |
ASSERT(GrGLSLPrettyPrint::PrettyPrintGLSL(testStr.begin(), lengths.begin(), 1, |
- true).c_str() != NULL); |
+ true).c_str() != nullptr); |
} |
#endif |