| Index: src/core/SkRRect.cpp
|
| diff --git a/src/core/SkRRect.cpp b/src/core/SkRRect.cpp
|
| index f2927644daabd40dbbe79f6964f2dfe305e56748..d8b4a20d88dfd5987209bc78114fec405886b000 100644
|
| --- a/src/core/SkRRect.cpp
|
| +++ b/src/core/SkRRect.cpp
|
| @@ -453,9 +453,8 @@ bool SkRRect::transform(const SkMatrix& matrix, SkRRect* dst) const {
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| void SkRRect::inset(SkScalar dx, SkScalar dy, SkRRect* dst) const {
|
| - SkRect r = fRect;
|
| + const SkRect r = fRect.makeInset(dx, dy);
|
|
|
| - r.inset(dx, dy);
|
| if (r.isEmpty()) {
|
| dst->setEmpty();
|
| return;
|
|
|