| Index: include/core/SkSurface.h
|
| diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
|
| index 35bd60c5e0f928c5f71c4c29851d366cdf25d771..2f277b755df7a9d385f57e812d6a2e97c2d9af72 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.
|
|
|