Index: tests/TextureStorageAllocator.cpp |
diff --git a/tests/TextureStorageAllocator.cpp b/tests/TextureStorageAllocator.cpp |
index 73d9dc0ed9b7183f59fa0a40dabf03136a113a26..122839ca59a4d0c5facd9cab8a1dc5f4997f19ac 100644 |
--- a/tests/TextureStorageAllocator.cpp |
+++ b/tests/TextureStorageAllocator.cpp |
@@ -67,7 +67,7 @@ |
grAllocator.fCtx = &allocator; |
SkAutoTUnref<SkSurface> surface(SkSurface_Gpu::NewRenderTarget( |
- context, SkBudgeted::kNo, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0, |
+ context, SkSurface_Gpu::kNo_Budgeted, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0, |
NULL, grAllocator)); |
REPORTER_ASSERT(reporter, surface); |
GrGLuint id = allocator.m_mostRecentlyAllocatedStorage; |
@@ -101,7 +101,7 @@ |
grAllocator.fDeallocateTextureStorage= &TestStorageAllocator::deallocateTextureStorage; |
grAllocator.fCtx = &allocator; |
SkAutoTUnref<SkSurface> surface(SkSurface_Gpu::NewRenderTarget( |
- context, SkBudgeted::kNo, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0, |
+ context, SkSurface_Gpu::kNo_Budgeted, SkImageInfo::MakeN32Premul(kWidth, kHeight), 0, |
NULL, grAllocator)); |
REPORTER_ASSERT(reporter, !surface); |
} |