Index: gm/image_shader.cpp |
diff --git a/gm/image_shader.cpp b/gm/image_shader.cpp |
index 0552c2431c1c127ddf01cf97f00478f659867c66..084bb95a1aa3aa1981cd630f531a07e6ba766cff 100644 |
--- a/gm/image_shader.cpp |
+++ b/gm/image_shader.cpp |
@@ -37,7 +37,7 @@ static SkImage* make_texture(GrContext* ctx, const SkPicture* pic, const SkImage |
if (!ctx) { |
return nullptr; |
} |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkSurface::kNo_Budgeted, |
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkBudgeted::kNo, |
info, 0)); |
surface->getCanvas()->clear(0); |
surface->getCanvas()->drawPicture(pic); |