aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkSurface_Gpu.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-07 16:23:27 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-07 16:23:27 +0000
commitd5911c4d8f27d78df2fe576dbfee90a36ee3af77 (patch)
treee6117e88c2777658f91cdafcbfac59ef3ffa2a3b /src/image/SkSurface_Gpu.cpp
parent5d54c29c70118dd8f038acf19c5293adbb64cdf1 (diff)
remove unneeded SK_SUPPORT_LEGACY_NEWRENDERTARGETDIRECT
BUG=skia: R=bsalomon@google.com Review URL: https://codereview.chromium.org/141063004 git-svn-id: http://skia.googlecode.com/svn/trunk@13364 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/image/SkSurface_Gpu.cpp')
-rw-r--r--src/image/SkSurface_Gpu.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp
index 5350fe9c07..58f9ef3437 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;