Index: tests/FloatingPointTextureTest.cpp |
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp |
index 1adc7442af610f7cc9315eb832e282724ff01fcc..c5103c813fba95a28a153a42fc06d341382c6abc 100644 |
--- a/tests/FloatingPointTextureTest.cpp |
+++ b/tests/FloatingPointTextureTest.cpp |
@@ -55,14 +55,14 @@ void runFPTest(skiatest::Reporter* reporter, GrContextFactory* factory, |
continue; |
} |
GrContext* context = factory->get(type); |
- if (NULL == context) { |
+ if (nullptr == context) { |
continue; |
} |
SkAutoTUnref<GrTexture> fpTexture(context->textureProvider()->createTexture( |
desc, false, controlPixelData.begin(), 0)); |
// Floating point textures are NOT supported everywhere |
- if (NULL == fpTexture) { |
+ if (nullptr == fpTexture) { |
continue; |
} |
fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0); |