| Index: src/image/SkImage_Base.h
|
| diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
|
| index 7ebedeb6f0fb86d54858641613943f32a88e8a6d..b314cc6c2ff092b52f76bba525188c41c0bb9cbe 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;
|
|
|