Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 52c01fe0d6d2df3ba424023bf9e9cdea25a33ba3..152ec560bd80b256a182295b84814730134e7931 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -501,7 +501,7 @@ void apply_morphology_pass(GrContext* context, |
direction, |
radius, |
morphType))->unref(); |
- context->drawRectToRect(paint, SkRect::MakeFromIRect(dstRect), SkRect::MakeFromIRect(srcRect)); |
+ context->drawRectToRect(paint, SkRect::Make(dstRect), SkRect::Make(srcRect)); |
} |
bool apply_morphology(const SkBitmap& input, |