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