| Index: src/core/SkDraw.cpp
|
| diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
|
| index 1cfeaa34d69e604529b0a5e703a00bc883a37e92..fa572f743487e076e68a933cd35b2708b1c7f51b 100644
|
| --- a/src/core/SkDraw.cpp
|
| +++ b/src/core/SkDraw.cpp
|
| @@ -853,6 +853,11 @@ void SkDraw::drawRect(const SkRect& rect, const SkPaint& paint) const {
|
| SkPoint strokeSize;
|
| RectType rtype = ComputeRectType(paint, *fMatrix, &strokeSize);
|
|
|
| + // work-around bug in antiframerect when strokesize is < 1
|
| + if (strokeSize.fX < SK_Scalar1 || strokeSize.fY < SK_Scalar1) {
|
| + rtype = kPath_RectType;
|
| + }
|
| +
|
| if (kPath_RectType == rtype) {
|
| SkPath tmp;
|
| tmp.addRect(rect);
|
|
|