| Index: src/gpu/SkGr.cpp
|
| diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp
|
| index 452218f517b97d5440c6eb967d2f9a22aeda9782..635f81a64e4829d072c98e51ae77d55f4b9bba9c 100644
|
| --- a/src/gpu/SkGr.cpp
|
| +++ b/src/gpu/SkGr.cpp
|
| @@ -421,10 +421,6 @@ GrTexture* GrUploadMipMapToTexture(GrContext* ctx, const SkImageInfo& info,
|
| GrTexture* GrRefCachedBitmapTexture(GrContext* ctx, const SkBitmap& bitmap,
|
| const GrTextureParams& params,
|
| SkSourceGammaTreatment gammaTreatment) {
|
| - if (bitmap.getTexture()) {
|
| - return GrBitmapTextureAdjuster(&bitmap).refTextureSafeForParams(params, gammaTreatment,
|
| - nullptr);
|
| - }
|
| return GrBitmapTextureMaker(ctx, bitmap).refTextureForParams(params, gammaTreatment);
|
| }
|
|
|
|
|