Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 9a2be0be6044034af55b8e2b3bc8c68e1715144e..38aff8c2f37c3276ef936f7dc291ef5eb5586369 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -300,11 +300,9 @@ void GrLayerHoister::FilterLayer(GrContext* context, |
SkAutoTUnref<SkImageFilter::Cache> cache(SkImageFilter::Cache::Create(kDefaultCacheSize)); |
SkImageFilter::Context filterContext(totMat, clipBounds, cache); |
- SkImageFilter::DeviceProxy proxy(device); |
- |
// TODO: should the layer hoister store stand alone layers as SkSpecialImages internally? |
const SkIRect subset = SkIRect::MakeWH(layer->texture()->width(), layer->texture()->height()); |
- sk_sp<SkSpecialImage> img(SkSpecialImage::MakeFromGpu(&proxy, subset, |
+ sk_sp<SkSpecialImage> img(SkSpecialImage::MakeFromGpu(subset, |
kNeedNewImageUniqueID_SpecialImage, |
layer->texture(), |
&device->surfaceProps())); |