| Index: src/core/SkStroke.cpp
|
| diff --git a/src/core/SkStroke.cpp b/src/core/SkStroke.cpp
|
| index d094ef65b72a49e2f5933bd974049feab623b47f..2fd5a14c2cd1e2993e978b3a6a23bfd224c6cbad 100644
|
| --- a/src/core/SkStroke.cpp
|
| +++ b/src/core/SkStroke.cpp
|
| @@ -549,10 +549,11 @@ void SkStroke::strokePath(const SkPath& src, SkPath* dst) const {
|
|
|
| // If src is really a rect, call our specialty strokeRect() method
|
| {
|
| + SkRect rect;
|
| bool isClosed;
|
| SkPath::Direction dir;
|
| - if (src.isRect(&isClosed, &dir) && isClosed) {
|
| - this->strokeRect(src.getBounds(), dst, dir);
|
| + if (src.isRect(&rect, &isClosed, &dir) && isClosed) {
|
| + this->strokeRect(rect, dst, dir);
|
| // our answer should preserve the inverseness of the src
|
| if (src.isInverseFillType()) {
|
| SkASSERT(!dst->isInverseFillType());
|
|
|