| Index: tests/GrTextureMipMapInvalidationTest.cpp
|
| diff --git a/tests/GrTextureMipMapInvalidationTest.cpp b/tests/GrTextureMipMapInvalidationTest.cpp
|
| index ab5c02ac94a75ecc07875bba9629c8e3fa56f075..f046f8ff6b120186c47edbed50911288c2fd8aaf 100644
|
| --- a/tests/GrTextureMipMapInvalidationTest.cpp
|
| +++ b/tests/GrTextureMipMapInvalidationTest.cpp
|
| @@ -29,12 +29,12 @@ DEF_GPUTEST(GrTextureMipMapInvalidationTest, reporter, factory) {
|
| desc.fWidth = 256;
|
| desc.fHeight = 256;
|
| desc.fSampleCnt = 0;
|
| - GrSurface* texRT1 = context->textureProvider()->createTexture(desc, false, NULL, 0);
|
| - GrSurface* texRT2 = context->textureProvider()->createTexture(desc, false, NULL, 0);
|
| - REPORTER_ASSERT(reporter, NULL != texRT1);
|
| - REPORTER_ASSERT(reporter, NULL != texRT2);
|
| + GrSurface* texRT1 = context->textureProvider()->createTexture(desc, false, nullptr, 0);
|
| + GrSurface* texRT2 = context->textureProvider()->createTexture(desc, false, nullptr, 0);
|
| + REPORTER_ASSERT(reporter, nullptr != texRT1);
|
| + REPORTER_ASSERT(reporter, nullptr != texRT2);
|
| GrTexture* tex = texRT1->asTexture();
|
| - REPORTER_ASSERT(reporter, NULL != tex);
|
| + REPORTER_ASSERT(reporter, nullptr != tex);
|
| SkBitmap bitmap;
|
| GrWrapTextureInBitmap(tex, 256, 256, false, &bitmap);
|
|
|
|
|