Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: include/core/SkSurface.h

Issue 141063004: remove unneeded SK_SUPPORT_LEGACY_NEWRENDERTARGETDIRECT (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/image/SkSurface_Gpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | src/image/SkSurface_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698