Index: src/gpu/SkGpuDevice_drawTexture.cpp |
diff --git a/src/gpu/SkGpuDevice_drawTexture.cpp b/src/gpu/SkGpuDevice_drawTexture.cpp |
index 4ba3c8df9c9235d672819be386c26b09398a4e98..8dc4926c53867df4bc957d85445b1a41a22be53e 100644 |
--- a/src/gpu/SkGpuDevice_drawTexture.cpp |
+++ b/src/gpu/SkGpuDevice_drawTexture.cpp |
@@ -204,7 +204,7 @@ void SkGpuDevice::drawTextureProducerImpl(GrTextureProducer* producer, |
bool gammaCorrect = this->surfaceProps().isGammaCorrect(); |
SkSourceGammaTreatment gammaTreatment = gammaCorrect |
? SkSourceGammaTreatment::kRespect : SkSourceGammaTreatment::kIgnore; |
- SkAutoTUnref<const GrFragmentProcessor> fp(producer->createFragmentProcessor( |
+ sk_sp<GrFragmentProcessor> fp(producer->createFragmentProcessor( |
*textureMatrix, clippedSrcRect, constraintMode, coordsAllInsideSrcRect, filterMode, |
gammaTreatment)); |
if (!fp) { |