Index: tests/WritePixelsTest.cpp |
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp |
index 6d672f7d16cdbcebf4ecd91b3329e93cc753e472..0141bf351f230a591ef43955fd8134a847027ff2 100644 |
--- a/tests/WritePixelsTest.cpp |
+++ b/tests/WritePixelsTest.cpp |
@@ -413,7 +413,8 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(WritePixels_Gpu, reporter, context) { |
desc.fHeight = DEV_H; |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fOrigin = origin; |
- SkAutoTUnref<GrTexture> texture(context->textureProvider()->createTexture(desc, false)); |
+ SkAutoTUnref<GrTexture> texture(context->textureProvider()->createTexture(desc, |
+ SkBudgeted::kNo)); |
SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTargetDirect(texture->asRenderTarget())); |
test_write_pixels(reporter, surface); |
} |