From bd500f09ce5b1ca464431d693f9ec5da60a59230 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Thu, 25 Feb 2016 06:52:12 -0800 Subject: Revert of Move Budgeted enum out of SkSurface, use in GrTextureProvider (patchset #6 id:100001 of https://codereview.chromium.org/1728093005/ ) Reason for revert: Need workaround for chrome to build Original issue's description: > Move Budgeted enum out of SkSurface, use in GrTextureProvider > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1728093005 > DOCS_PREVIEW= https://skia.org/?cl=1728093005 > > Committed: https://skia.googlesource.com/skia/+/57599fe6c0336feaeeeb9b1996e77b70219b483c TBR=reed@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1734043002 --- site/user/api/canvas.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/user') 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 gpuSurface( - SkSurface::NewRenderTarget(context, SkBudgeted::kNo, info)); + SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, info)); if (!gpuSurface) { SkDebugf("SkSurface::NewRenderTarget returned null\n"); return; -- cgit v1.2.3