diff options
author | robertphillips <robertphillips@google.com> | 2016-09-21 11:00:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-21 11:00:23 -0700 |
commit | df55827ae6291e44d4da54bdcbb8505538b3c54d (patch) | |
tree | 7fd914f5a883ffb5d465b1491ab58159f14eacf7 /src/image/SkImage_Base.h | |
parent | 2eda5b3a65f54105ae3776160373eed5500c515f (diff) |
Remove unused SkImage_Base and SkImage_Gpu onNewSurface methods
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2353403002
Review-Url: https://codereview.chromium.org/2353403002
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r-- | src/image/SkImage_Base.h | 4 |
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; |