diff options
Diffstat (limited to 'include/core/SkSurface.h')
-rw-r--r-- | include/core/SkSurface.h | 10 |
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. |