Index: tests/RectangleTextureTest.cpp |
diff --git a/tests/RectangleTextureTest.cpp b/tests/RectangleTextureTest.cpp |
index 168a573ea05ce826af06e71a9aaccfb4c0b1d2f2..2943c258eaaa9196b40ecb17d20977c5c3a70b59 100644 |
--- a/tests/RectangleTextureTest.cpp |
+++ b/tests/RectangleTextureTest.cpp |
@@ -58,7 +58,8 @@ static void test_copy_surface_src(skiatest::Reporter* reporter, GrContext* conte |
copyDstDesc.fWidth = rectangleTexture->width(); |
copyDstDesc.fHeight = rectangleTexture->height(); |
copyDstDesc.fFlags = kRenderTarget_GrSurfaceFlag; |
- SkAutoTUnref<GrTexture> dst(context->textureProvider()->createTexture(copyDstDesc, true)); |
+ SkAutoTUnref<GrTexture> dst(context->textureProvider()->createTexture( |
+ copyDstDesc, SkBudgeted::kYes)); |
context->copySurface(dst, rectangleTexture); |
test_read_pixels(reporter, context, dst, expectedPixelValues); |
} |
@@ -78,8 +79,8 @@ static void test_copy_surface_dst(skiatest::Reporter* reporter, GrContext* conte |
copySrcDesc.fWidth = rectangleTexture->width(); |
copySrcDesc.fHeight = rectangleTexture->height(); |
copySrcDesc.fFlags = kRenderTarget_GrSurfaceFlag; |
- SkAutoTUnref<GrTexture> src(context->textureProvider()->createTexture(copySrcDesc, true, |
- pixels.get(), 0)); |
+ SkAutoTUnref<GrTexture> src(context->textureProvider()->createTexture( |
+ copySrcDesc, SkBudgeted::kYes, pixels.get(), 0)); |
context->copySurface(rectangleTexture, src); |
test_read_pixels(reporter, context, rectangleTexture, pixels.get()); |