Index: src/core/SkLinearBitmapPipeline.cpp |
diff --git a/src/core/SkLinearBitmapPipeline.cpp b/src/core/SkLinearBitmapPipeline.cpp |
index dfc9aa83762f926d802cfd5744d035f39c508906..7cdeaac5ffa4babfdbb71b27da536b08ca069670 100644 |
--- a/src/core/SkLinearBitmapPipeline.cpp |
+++ b/src/core/SkLinearBitmapPipeline.cpp |
@@ -891,7 +891,7 @@ SkLinearBitmapPipeline::SkLinearBitmapPipeline( |
} |
bool SkLinearBitmapPipeline::ClonePipelineForBlitting( |
- void* blitterStorage, |
+ SkEmbeddableLinearPipeline* pipelineStorage, |
const SkLinearBitmapPipeline& pipeline, |
SkMatrix::TypeMask matrixMask, |
SkShader::TileMode xTileMode, |
@@ -920,7 +920,7 @@ bool SkLinearBitmapPipeline::ClonePipelineForBlitting( |
return false; |
} |
- new (blitterStorage) SkLinearBitmapPipeline(pipeline, srcPixmap, xferMode, dstInfo); |
+ pipelineStorage->init(pipeline, srcPixmap, xferMode, dstInfo); |
return true; |
} |