Index: site/user/api/canvas.md |
diff --git a/site/user/api/canvas.md b/site/user/api/canvas.md |
index cf9992d34828929a949562c13e46c62595bd462e..bb296527a200a0ddf8b49ac2cb522e3cfcb2be57 100644 |
--- a/site/user/api/canvas.md |
+++ b/site/user/api/canvas.md |
@@ -90,7 +90,7 @@ |
GrContext* context = grFactory.get(GrContextFactory::kNative_GLContextType); |
SkImageInfo info = SkImageInfo:: MakeN32Premul(width, height); |
SkAutoTUnref<SkSurface> gpuSurface( |
- SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info)); |
+ SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, info)); |
if (!gpuSurface) { |
SkDebugf("SkSurface::NewRenderTarget returned null\n"); |
return; |