aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkImage_Base.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-09-21 11:00:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-21 11:00:23 -0700
commitdf55827ae6291e44d4da54bdcbb8505538b3c54d (patch)
tree7fd914f5a883ffb5d465b1491ab58159f14eacf7 /src/image/SkImage_Base.h
parent2eda5b3a65f54105ae3776160373eed5500c515f (diff)
Remove unused SkImage_Base and SkImage_Gpu onNewSurface methods
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r--src/image/SkImage_Base.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
index 7ebedeb6f0..b314cc6c2f 100644
--- a/src/image/SkImage_Base.h
+++ b/src/image/SkImage_Base.h
@@ -54,10 +54,6 @@ public:
// but only inspect them (or encode them).
virtual bool getROPixels(SkBitmap*, CachingHint = kAllow_CachingHint) const = 0;
- virtual sk_sp<SkSurface> onNewSurface(const SkImageInfo& info) const {
- return SkSurface::MakeRaster(info);
- }
-
// Caller must call unref when they are done.
virtual GrTexture* asTextureRef(GrContext*, const GrTextureParams&,
SkSourceGammaTreatment) const = 0;