Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 1f22a6e19453480bb70417e464fd19c216d13308..d5a048c6ce554d6f75939421c9d48b52a2b2c23d 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -533,8 +533,7 @@ static sk_sp<SkSpecialImage> apply_morphology(GrContext* context, |
srcTexture.reset(scratch); |
} |
- return SkSpecialImage::MakeFromGpu(input->internal_getProxy(), |
- SkIRect::MakeWH(rect.width(), rect.height()), |
+ return SkSpecialImage::MakeFromGpu(SkIRect::MakeWH(rect.width(), rect.height()), |
kNeedNewImageUniqueID_SpecialImage, |
srcTexture, &input->props()); |
} |
@@ -644,7 +643,6 @@ sk_sp<SkSpecialImage> SkMorphologyImageFilter::onFilterImage(SkSpecialImage* sou |
offset->fX = bounds.left(); |
offset->fY = bounds.top(); |
- return SkSpecialImage::MakeFromRaster(source->internal_getProxy(), |
- SkIRect::MakeWH(bounds.width(), bounds.height()), |
+ return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds.height()), |
dst, &source->props()); |
} |