From d5911c4d8f27d78df2fe576dbfee90a36ee3af77 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 7 Feb 2014 16:23:27 +0000 Subject: remove unneeded SK_SUPPORT_LEGACY_NEWRENDERTARGETDIRECT BUG=skia: R=bsalomon@google.com Review URL: https://codereview.chromium.org/141063004 git-svn-id: http://skia.googlecode.com/svn/trunk@13364 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkSurface.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/core/SkSurface.h') diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h index 35bd60c5e0..2f277b755d 100644 --- a/include/core/SkSurface.h +++ b/include/core/SkSurface.h @@ -16,8 +16,6 @@ class SkPaint; class GrContext; class GrRenderTarget; -//#define SK_SUPPORT_LEGACY_NEWRENDERTARGETDIRECT - /** * SkSurface represents the backend/results of drawing to a canvas. For raster * drawing, the surface will be pixels, but (for example) when drawing into @@ -72,14 +70,6 @@ public: */ static SkSurface* NewRenderTargetDirect(GrRenderTarget*); -#ifdef SK_SUPPORT_LEGACY_NEWRENDERTARGETDIRECT - /** - * DEPRECATED -- call the single argument version (just rendertarget) - * Return a new surface using the specified render target. - */ - static SkSurface* NewRenderTargetDirect(GrContext*, GrRenderTarget*); -#endif - /** * Return a new surface whose contents will be drawn to an offscreen * render target, allocated by the surface. -- cgit v1.2.3