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