Index: tests/ReadPixelsTest.cpp |
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp |
index b87d2b8ad7eff61700247cac3d6e86af2b1830f4..00cb12d93e4e63a44cd65d92aec871033b221a96 100644 |
--- a/tests/ReadPixelsTest.cpp |
+++ b/tests/ReadPixelsTest.cpp |
@@ -396,7 +396,7 @@ |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fOrigin = origin; |
SkAutoTUnref<GrTexture> surfaceTexture( |
- context->textureProvider()->createTexture(desc, SkBudgeted::kNo)); |
+ context->textureProvider()->createTexture(desc, false)); |
SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTargetDirect(surfaceTexture->asRenderTarget())); |
desc.fFlags = kNone_GrSurfaceFlags; |
test_readpixels(reporter, surface, kLast_BitmapInit); |
@@ -452,7 +452,7 @@ |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fOrigin = origin; |
desc.fFlags = kNone_GrSurfaceFlags; |
- texture.reset(context->textureProvider()->createTexture(desc, SkBudgeted::kNo)); |
+ texture.reset(context->textureProvider()->createTexture(desc, false)); |
test_readpixels_texture(reporter, texture); |
} |
} |
@@ -603,8 +603,8 @@ |
// do they draw the same? |
const SkImageInfo info = SkImageInfo::MakeN32Premul(128, 128); |
- SkAutoTUnref<SkSurface> surfA(SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info, 0)); |
- SkAutoTUnref<SkSurface> surfB(SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info, 0)); |
+ SkAutoTUnref<SkSurface> surfA(SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, info, 0)); |
+ SkAutoTUnref<SkSurface> surfB(SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, info, 0)); |
if (false) { |
// |