Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index adeec45c8ac5d5c91b98ee3c0ca728a4b95722cf..eb51e8e081289aa67c8d6412c13496caf9ddea87 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -141,7 +141,7 @@ GrTexture* GrTextureParamsAdjuster::generateTextureForParams(GrContext* ctx, |
return nullptr; |
} |
SkBitmap stretchedBmp = copy_on_cpu(bitmap, copyParams); |
- return GrUploadBitmapToTexture(ctx, bitmap); |
+ return GrUploadBitmapToTexture(ctx, stretchedBmp); |
} else { |
SkAutoTUnref<GrTexture> original(this->refOriginalTexture(ctx)); |
if (!original) { |