Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 121a7fdc013a5eea116c629e9e99c20a1a71e045..bbd236ea72bc5c177c4bdfbc4daa449a1f976912 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -478,8 +478,7 @@ static sk_sp<SkSpecialImage> apply_morphology(GrContext* context, |
SkASSERT(srcTexture); |
// setup new clip |
- const GrClip clip(SkRect::MakeWH(SkIntToScalar(srcTexture->width()), |
- SkIntToScalar(srcTexture->height()))); |
+ const GrFixedClip clip(SkIRect::MakeWH(srcTexture->width(), srcTexture->height())); |
const SkIRect dstRect = SkIRect::MakeWH(rect.width(), rect.height()); |
SkIRect srcRect = rect; |