Index: src/gpu/GrPipeline.cpp |
diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp |
index 073349be1ed900062964098d85773e416eedd75b..efeb360b9e14c7bedc1c0d20a5b62801fa296a62 100644 |
--- a/src/gpu/GrPipeline.cpp |
+++ b/src/gpu/GrPipeline.cpp |
@@ -24,7 +24,7 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, |
SkAutoTUnref<GrXferProcessor> xferProcessor( |
builder.getXPFactory()->createXferProcessor(args.fColorPOI, args.fCoveragePOI, |
builder.hasMixedSamples(), &args.fDstTexture, |
- *args.fCaps)); |
+ *args.fCaps, builder.getRenderTarget())); |
if (!xferProcessor) { |
return nullptr; |
} |
@@ -57,7 +57,7 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, |
GrPipeline* pipeline = new (memory) GrPipeline; |
pipeline->fXferProcessor.reset(xferProcessor.get()); |
- pipeline->fRenderTarget.reset(builder.fRenderTarget.get()); |
+ pipeline->fRenderTarget.reset(builder.fRenderTarget.get(), NULL); |
SkASSERT(pipeline->fRenderTarget); |
pipeline->fScissorState = *args.fScissor; |
pipeline->fStencilSettings = builder.getStencil(); |