aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/user/api
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-25 06:33:26 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-25 06:33:27 -0800
commit57599fe6c0336feaeeeb9b1996e77b70219b483c (patch)
tree5387b10428f64c8e5e56427b24a589489d746440 /site/user/api
parentddb347b63c72141378fc8bd25fa40d6dac9fe916 (diff)
Move Budgeted enum out of SkSurface, use in GrTextureProvider
Diffstat (limited to 'site/user/api')
-rw-r--r--site/user/api/canvas.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/user/api/canvas.md b/site/user/api/canvas.md
index bb296527a2..cf9992d348 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;