| Index: src/gpu/effects/GrRRectEffect.cpp
|
| diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp
|
| index 9d83785810fab7d0b365598fad32fde3e7996485..61652c17452e74033d8ed407e3c2535b77120caf 100644
|
| --- a/src/gpu/effects/GrRRectEffect.cpp
|
| +++ b/src/gpu/effects/GrRRectEffect.cpp
|
| @@ -658,7 +658,7 @@ GrEffectRef* GrRRectEffect::Create(GrEffectEdgeType edgeType, const SkRRect& rre
|
| return EllipticalRRectEffect::Create(edgeType,
|
| EllipticalRRectEffect::kSimple_RRectType, rrect);
|
| }
|
| - } else if (rrect.isComplex()) {
|
| + } else if (rrect.isComplex() || rrect.isNinePatch()) {
|
| // Check for the "tab" cases - two adjacent circular corners and two square corners.
|
| SkScalar radius = 0;
|
| cornerFlags = 0;
|
|
|