| Index: src/image/SkSurface_Gpu.cpp
|
| diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp
|
| index 5350fe9c075ab23779229404517888301b854b9a..58f9ef34375d54853940ed44cb781e463c5ac80c 100644
|
| --- a/src/image/SkSurface_Gpu.cpp
|
| +++ b/src/image/SkSurface_Gpu.cpp
|
| @@ -109,14 +109,6 @@ SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget* target) {
|
| return SkNEW_ARGS(SkSurface_Gpu, (target));
|
| }
|
|
|
| -#ifdef SK_SUPPORT_LEGACY_NEWRENDERTARGETDIRECT
|
| -SkSurface* SkSurface::NewRenderTargetDirect(GrContext* ctx,
|
| - GrRenderTarget* target) {
|
| - SkASSERT(target->getContext() == ctx);
|
| - return SkSurface::NewRenderTargetDirect(target);
|
| -}
|
| -#endif
|
| -
|
| SkSurface* SkSurface::NewRenderTarget(GrContext* ctx, const SkImageInfo& info, int sampleCount) {
|
| if (NULL == ctx) {
|
| return NULL;
|
|
|