Index: include/core/SkSurface.h |
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h |
index e60f50e3fa7f67baee61daa62ec93c51c44e97e6..7c4d21bd5fb574810e2017ed320e1f30b46616f5 100644 |
--- a/include/core/SkSurface.h |
+++ b/include/core/SkSurface.h |
@@ -178,12 +178,6 @@ public: |
const SkSurfaceProps* props = NULL) { |
return NewRaster(SkImageInfo::MakeN32Premul(width, height), props); |
} |
- static SkSurface* NewRenderTargetDirect(GrRenderTarget* rt, const SkSurfaceProps* props) { |
- return MakeRenderTargetDirect(rt, nullptr, props).release(); |
- } |
- static SkSurface* NewRenderTargetDirect(GrRenderTarget* target) { |
- return NewRenderTargetDirect(target, NULL); |
- } |
static SkSurface* NewFromBackendTexture(GrContext* ctx, const GrBackendTextureDesc& desc, |
const SkSurfaceProps* props) { |
return MakeFromBackendTexture(ctx, desc, props).release(); |