Index: gm/imagetoyuvplanes.cpp |
diff --git a/gm/imagetoyuvplanes.cpp b/gm/imagetoyuvplanes.cpp |
index 09b3dbb98b92240a43989a91f9eabcab40b4a78a..4883a682f85142642c47bc22edca09f55ede5e37 100644 |
--- a/gm/imagetoyuvplanes.cpp |
+++ b/gm/imagetoyuvplanes.cpp |
@@ -16,7 +16,7 @@ |
SkAutoTUnref<SkSurface> surface; |
SkImageInfo info = SkImageInfo::MakeN32Premul(width, height); |
if (context) { |
- surface.reset(SkSurface::NewRenderTarget(context, SkBudgeted::kYes, info, 0)); |
+ surface.reset(SkSurface::NewRenderTarget(context, SkSurface::kYes_Budgeted, info, 0)); |
} else { |
surface.reset(SkSurface::NewRaster(info)); |
} |