| Index: tests/GrSurfaceTest.cpp
|
| diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp
|
| index 4b7dbd30de31642c520a7d27928ffd5723a144c0..ac0b399b69c0a6e1fa583ab3f7b743ff3c9e6eb6 100644
|
| --- a/tests/GrSurfaceTest.cpp
|
| +++ b/tests/GrSurfaceTest.cpp
|
| @@ -25,7 +25,8 @@ DEF_GPUTEST_FOR_NULL_CONTEXT(GrSurface, reporter, context) {
|
| desc.fWidth = 256;
|
| desc.fHeight = 256;
|
| desc.fSampleCnt = 0;
|
| - GrSurface* texRT1 = context->textureProvider()->createTexture(desc, false, nullptr, 0);
|
| + GrSurface* texRT1 = context->textureProvider()->createTexture(
|
| + desc, SkBudgeted::kNo, nullptr, 0);
|
|
|
| REPORTER_ASSERT(reporter, texRT1 == texRT1->asRenderTarget());
|
| REPORTER_ASSERT(reporter, texRT1 == texRT1->asTexture());
|
| @@ -37,7 +38,7 @@ DEF_GPUTEST_FOR_NULL_CONTEXT(GrSurface, reporter, context) {
|
| static_cast<GrSurface*>(texRT1->asTexture()));
|
|
|
| desc.fFlags = kNone_GrSurfaceFlags;
|
| - GrSurface* tex1 = context->textureProvider()->createTexture(desc, false, nullptr, 0);
|
| + GrSurface* tex1 = context->textureProvider()->createTexture(desc, SkBudgeted::kNo, nullptr, 0);
|
| REPORTER_ASSERT(reporter, nullptr == tex1->asRenderTarget());
|
| REPORTER_ASSERT(reporter, tex1 == tex1->asTexture());
|
| REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1) == tex1->asTexture());
|
|
|