| Index: tests/GrSurfaceTest.cpp
|
| diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp
|
| index b9bb3192109714cbc9ee29bcaf9789a8916badb7..24ffc7c5d311390a26dbad8ce1114090e713a54a 100644
|
| --- a/tests/GrSurfaceTest.cpp
|
| +++ b/tests/GrSurfaceTest.cpp
|
| @@ -27,7 +27,7 @@ DEF_GPUTEST(GrSurface, reporter, factory) {
|
| desc.fWidth = 256;
|
| desc.fHeight = 256;
|
| desc.fSampleCnt = 0;
|
| - GrSurface* texRT1 = context->textureProvider()->createTexture(desc, false, NULL, 0);
|
| + GrSurface* texRT1 = context->textureProvider()->createTexture(desc, false, nullptr, 0);
|
|
|
| REPORTER_ASSERT(reporter, texRT1 == texRT1->asRenderTarget());
|
| REPORTER_ASSERT(reporter, texRT1 == texRT1->asTexture());
|
| @@ -39,8 +39,8 @@ DEF_GPUTEST(GrSurface, reporter, factory) {
|
| static_cast<GrSurface*>(texRT1->asTexture()));
|
|
|
| desc.fFlags = kNone_GrSurfaceFlags;
|
| - GrSurface* tex1 = context->textureProvider()->createTexture(desc, false, NULL, 0);
|
| - REPORTER_ASSERT(reporter, NULL == tex1->asRenderTarget());
|
| + GrSurface* tex1 = context->textureProvider()->createTexture(desc, false, nullptr, 0);
|
| + REPORTER_ASSERT(reporter, nullptr == tex1->asRenderTarget());
|
| REPORTER_ASSERT(reporter, tex1 == tex1->asTexture());
|
| REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1) == tex1->asTexture());
|
|
|
|
|