| Index: src/effects/SkMorphologyImageFilter.cpp
|
| diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp
|
| index 4b64ca9e478218d62d6068c92cdb3980599559db..b8853c7356111a74e01ea9880248149bea6aa13e 100644
|
| --- a/src/effects/SkMorphologyImageFilter.cpp
|
| +++ b/src/effects/SkMorphologyImageFilter.cpp
|
| @@ -482,7 +482,8 @@ void apply_morphology_pass(GrContext* context,
|
| direction,
|
| radius,
|
| morphType))->unref();
|
| - context->drawRectToRect(paint, SkRect::Make(dstRect), SkRect::Make(srcRect));
|
| + context->drawRectToRect(paint, SkMatrix::I(), SkRect::Make(dstRect),
|
| + SkRect::Make(srcRect));
|
| }
|
|
|
| bool apply_morphology(const SkBitmap& input,
|
| @@ -494,9 +495,6 @@ bool apply_morphology(const SkBitmap& input,
|
| SkASSERT(srcTexture);
|
| GrContext* context = srcTexture->getContext();
|
|
|
| - GrContext::AutoMatrix am;
|
| - am.setIdentity(context);
|
| -
|
| GrContext::AutoClip acs(context, SkRect::MakeWH(SkIntToScalar(srcTexture->width()),
|
| SkIntToScalar(srcTexture->height())));
|
|
|
|
|