Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 80ea3cdc50270ad4682cc34895a4bb36b499a8c2..dd8a48547ac0c311e9d097e5f0531fbc59a459a4 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -306,7 +306,8 @@ void GrLayerHoister::FilterLayer(GrContext* context, |
const SkIRect subset = SkIRect::MakeWH(layer->texture()->width(), layer->texture()->height()); |
sk_sp<SkSpecialImage> img(SkSpecialImage::MakeFromGpu(&proxy, subset, |
kNeedNewImageUniqueID_SpecialImage, |
- layer->texture())); |
+ layer->texture(), |
+ &device->surfaceProps())); |
SkIPoint offset = SkIPoint::Make(0, 0); |
sk_sp<SkSpecialImage> result(layer->filter()->filterImage(img.get(), |