Index: src/gpu/GrXferProcessor.cpp |
diff --git a/src/gpu/GrXferProcessor.cpp b/src/gpu/GrXferProcessor.cpp |
index 76e0ba0fc491198d4fd14776737849dd0f6f2051..7c86ad0867cf49f3b224b64bf7e76e9a829942bb 100644 |
--- a/src/gpu/GrXferProcessor.cpp |
+++ b/src/gpu/GrXferProcessor.cpp |
@@ -24,7 +24,7 @@ GrXferProcessor::GrXferProcessor(const DstTexture* dstTexture, |
, fDstTextureOffset() { |
if (dstTexture && dstTexture->texture()) { |
SkASSERT(willReadDstColor); |
- fDstTexture.reset(dstTexture->texture()); |
+ fDstTexture.reset(dstTexture->texture(), nullptr); |
fDstTextureOffset = dstTexture->offset(); |
this->addTextureAccess(&fDstTexture); |
this->setWillReadFragmentPosition(); |