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