| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index a50b5c6bd644b14ed4b08a478edbf0bfa48c5e39..66956d467a0087df7cef303bc23c4a4580d79e70 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1500,8 +1500,7 @@ void SkGpuDevice::drawProducerLattice(const SkDraw& draw, GrTextureProducer* pro
|
| return;
|
| }
|
|
|
| - std::unique_ptr<SkLatticeIter> iter(
|
| - new SkLatticeIter(producer->width(), producer->height(), lattice, dst));
|
| + std::unique_ptr<SkLatticeIter> iter(new SkLatticeIter(lattice, dst));
|
| fDrawContext->drawImageLattice(fClip, grPaint, *draw.fMatrix, producer->width(),
|
| producer->height(), std::move(iter), dst);
|
| }
|
|
|