aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkSurface.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-07 16:23:27 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-07 16:23:27 +0000
commitd5911c4d8f27d78df2fe576dbfee90a36ee3af77 (patch)
treee6117e88c2777658f91cdafcbfac59ef3ffa2a3b /include/core/SkSurface.h
parent5d54c29c70118dd8f038acf19c5293adbb64cdf1 (diff)
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
Diffstat (limited to 'include/core/SkSurface.h')
-rw-r--r--include/core/SkSurface.h10
1 files changed, 0 insertions, 10 deletions
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.