Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 5b9141fd2af01670c4ca214e535f71fafb084ff0..94210872c3a06781a6c64329058a17f671c98cbd 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -477,7 +477,7 @@ void apply_morphology_rect(GrDrawContext* drawContext, |
radius, |
morphType, |
bounds))->unref(); |
- drawContext->drawNonAARectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect), |
+ drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect), |
SkRect::Make(srcRect)); |
} |
@@ -494,8 +494,8 @@ void apply_morphology_rect_no_bounds(GrDrawContext* drawContext, |
direction, |
radius, |
morphType))->unref(); |
- drawContext->drawNonAARectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect), |
- SkRect::Make(srcRect)); |
+ drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect), |
+ SkRect::Make(srcRect)); |
} |
void apply_morphology_pass(GrDrawContext* drawContext, |