Index: tests/SRGBReadWritePixelsTest.cpp |
diff --git a/tests/SRGBReadWritePixelsTest.cpp b/tests/SRGBReadWritePixelsTest.cpp |
index 20b2783e52b26c1f40bcc038d21955f927875da3..1446d7d0acffc52035dcc363c98e13df03168812 100644 |
--- a/tests/SRGBReadWritePixelsTest.cpp |
+++ b/tests/SRGBReadWritePixelsTest.cpp |
@@ -161,7 +161,8 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SRGBReadWritePixels, reporter, context) { |
desc.fConfig = kSRGBA_8888_GrPixelConfig; |
if (context->caps()->isConfigRenderable(desc.fConfig, false) && |
context->caps()->isConfigTexturable(desc.fConfig)) { |
- SkAutoTUnref<GrTexture> tex(context->textureProvider()->createTexture(desc, false)); |
+ SkAutoTUnref<GrTexture> tex(context->textureProvider()->createTexture( |
+ desc, SkBudgeted::kNo)); |
if (!tex) { |
ERRORF(reporter, "Could not create SRGBA texture."); |
return; |
@@ -200,7 +201,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SRGBReadWritePixels, reporter, context) { |
} |
desc.fConfig = kRGBA_8888_GrPixelConfig; |
- tex.reset(context->textureProvider()->createTexture(desc, false)); |
+ tex.reset(context->textureProvider()->createTexture(desc, SkBudgeted::kNo)); |
if (!tex) { |
ERRORF(reporter, "Could not create RGBA texture."); |
return; |