Index: src/effects/SkGpuBlurUtils.cpp |
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp |
index 401057b24b8754412dbaf80e6ee16f76e4e5c019..7c239a1bc34333a9307eec2a7bf4d620129ce7e2 100644 |
--- a/src/effects/SkGpuBlurUtils.cpp |
+++ b/src/effects/SkGpuBlurUtils.cpp |
@@ -183,14 +183,12 @@ GrTexture* GaussianBlur(GrContext* context, |
GrTexture* tempTexture; |
SkAutoTUnref<GrTexture> temp1, temp2; |
- temp1.reset(context->textureProvider()->refScratchTexture( |
- desc, GrTextureProvider::kApprox_ScratchTexMatch)); |
+ temp1.reset(context->textureProvider()->createApproxTexture(desc)); |
dstTexture = temp1.get(); |
if (canClobberSrc) { |
tempTexture = srcTexture; |
} else { |
- temp2.reset(context->textureProvider()->refScratchTexture( |
- desc, GrTextureProvider::kApprox_ScratchTexMatch)); |
+ temp2.reset(context->textureProvider()->createApproxTexture(desc)); |
tempTexture = temp2.get(); |
} |