Index: tests/ImageTest.cpp |
diff --git a/tests/ImageTest.cpp b/tests/ImageTest.cpp |
index 2ec1f342b360f8f93649a34458de56165cdf4f36..1bf56c53a2d85acdf1dd17fda7ec59ff9870e020 100644 |
--- a/tests/ImageTest.cpp |
+++ b/tests/ImageTest.cpp |
@@ -124,7 +124,7 @@ |
#if SK_SUPPORT_GPU |
static SkImage* create_gpu_image(GrContext* context) { |
const SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(context, SkBudgeted::kNo, |
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, |
info)); |
draw_image_test_pattern(surface->getCanvas()); |
return surface->newImageSnapshot(); |
@@ -696,7 +696,7 @@ |
desc.fHeight = h; |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fSampleCnt = 0; |
- SkAutoTUnref<GrTexture> tex(provider->createTexture(desc, SkBudgeted::kNo, storage, w * 4)); |
+ SkAutoTUnref<GrTexture> tex(provider->createTexture(desc, false, storage, w * 4)); |
if (!tex) { |
REPORTER_ASSERT(reporter, false); |
return; |