| Index: src/effects/SkMorphologyImageFilter.cpp
|
| diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp
|
| index f1a7d09b8b6cfe8da081336a294229e480a53004..01e978e846369108f2cc274dddee8f662bbd745b 100644
|
| --- a/src/effects/SkMorphologyImageFilter.cpp
|
| +++ b/src/effects/SkMorphologyImageFilter.cpp
|
| @@ -471,12 +471,12 @@
|
| float bounds[2],
|
| Gr1DKernelEffect::Direction direction) {
|
| GrPaint paint;
|
| - paint.addColorFragmentProcessor(GrMorphologyEffect::Create(paint.getProcessorDataManager(),
|
| - texture,
|
| - direction,
|
| - radius,
|
| - morphType,
|
| - bounds))->unref();
|
| + paint.addColorProcessor(GrMorphologyEffect::Create(paint.getProcessorDataManager(),
|
| + texture,
|
| + direction,
|
| + radius,
|
| + morphType,
|
| + bounds))->unref();
|
| drawContext->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
|
| SkRect::Make(srcRect));
|
| }
|
| @@ -491,11 +491,11 @@
|
| GrMorphologyEffect::MorphologyType morphType,
|
| Gr1DKernelEffect::Direction direction) {
|
| GrPaint paint;
|
| - paint.addColorFragmentProcessor(GrMorphologyEffect::Create(paint.getProcessorDataManager(),
|
| - texture,
|
| - direction,
|
| - radius,
|
| - morphType))->unref();
|
| + paint.addColorProcessor(GrMorphologyEffect::Create(paint.getProcessorDataManager(),
|
| + texture,
|
| + direction,
|
| + radius,
|
| + morphType))->unref();
|
| drawContext->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
|
| SkRect::Make(srcRect));
|
| }
|
|
|