Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 5bddc036dfa5927f4f08d1a7583a20e049504f30..2bf1abb5fdb3618debdac00385c1d72cd1d35783 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -311,7 +311,7 @@ void GrLayerHoister::FilterLayer(GrContext* context, |
// This cache is transient, and is freed (along with all its contained |
// textures) when it goes out of scope. |
SkAutoTUnref<SkImageFilter::Cache> cache(SkImageFilter::Cache::Create(kDefaultCacheSize)); |
- SkImageFilter::Context filterContext(totMat, clipBounds, cache); |
+ SkImageFilter::Context filterContext(totMat, clipBounds, cache, SkImageFilter::kApprox_SizeConstraint); |
SkImageFilter::DeviceProxy proxy(device); |
const SkBitmap src = wrap_texture(layer->texture()); |