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