Index: tests/ImageIsOpaqueTest.cpp |
diff --git a/tests/ImageIsOpaqueTest.cpp b/tests/ImageIsOpaqueTest.cpp |
index 5d7003f20b9baa13956fd520d59a6bb99cdd502a..739af2bd4990e0cbbbb00a0bbbce6a085a5949a5 100644 |
--- a/tests/ImageIsOpaqueTest.cpp |
+++ b/tests/ImageIsOpaqueTest.cpp |
@@ -68,12 +68,12 @@ DEF_TEST(ImageIsOpaqueTest, reporter) { |
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageIsOpaqueTest_Gpu, reporter, context) { |
SkImageInfo infoTransparent = SkImageInfo::MakeN32Premul(5, 5); |
SkAutoTUnref<SkSurface> surfaceTransparent( |
- SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, infoTransparent)); |
+ SkSurface::NewRenderTarget(context, SkBudgeted::kNo, infoTransparent)); |
check_isopaque(reporter, surfaceTransparent, false); |
SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); |
SkAutoTUnref<SkSurface> surfaceOpaque( |
- SkSurface::NewRenderTarget(context,SkSurface::kNo_Budgeted, infoOpaque)); |
+ SkSurface::NewRenderTarget(context,SkBudgeted::kNo, infoOpaque)); |
check_isopaque(reporter, surfaceOpaque, true); |
} |