| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index cd678af880a723992c79cd12a1dabe05ce9da5de..0ba24dfeab45a4edb1cf04e00db671d32adaf88a 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1157,7 +1157,7 @@ void SkGpuDevice::drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
|
| SkAutoTUnref<SkImageFilter::Cache> cache(getImageFilterCache());
|
| // This cache is transient, and is freed (along with all its contained
|
| // textures) when it goes out of scope.
|
| - SkImageFilter::Context ctx(matrix, clipBounds, cache, SkImageFilter::kApprox_SizeConstraint);
|
| + SkImageFilter::Context ctx(matrix, clipBounds, cache);
|
| if (this->filterTexture(fContext, texture, w, h, filter, ctx, &filteredBitmap,
|
| &offset)) {
|
| texture = (GrTexture*) filteredBitmap.getTexture();
|
| @@ -1323,7 +1323,7 @@ void SkGpuDevice::drawDevice(const SkDraw& draw, SkBaseDevice* device,
|
| // This cache is transient, and is freed (along with all its contained
|
| // textures) when it goes out of scope.
|
| SkAutoTUnref<SkImageFilter::Cache> cache(getImageFilterCache());
|
| - SkImageFilter::Context ctx(matrix, clipBounds, cache, SkImageFilter::kApprox_SizeConstraint);
|
| + SkImageFilter::Context ctx(matrix, clipBounds, cache);
|
| if (this->filterTexture(fContext, devTex, device->width(), device->height(),
|
| filter, ctx, &filteredBitmap, &offset)) {
|
| devTex = filteredBitmap.getTexture();
|
|
|