diff options
Diffstat (limited to 'site/user')
-rw-r--r-- | site/user/api/canvas.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/user/api/canvas.md b/site/user/api/canvas.md index cf9992d348..bb296527a2 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, SkBudgeted::kNo, info)); + SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, info)); if (!gpuSurface) { SkDebugf("SkSurface::NewRenderTarget returned null\n"); return; |