| Index: src/core/SkPath.cpp
|
| diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
|
| index fbda7e8772f6770ee71de6748869f1e049d21a18..b6269027d2cc1ab744b5b002df1cff8cc335f6bc 100644
|
| --- a/src/core/SkPath.cpp
|
| +++ b/src/core/SkPath.cpp
|
| @@ -1161,7 +1161,7 @@ void SkPath::addRRect(const SkRRect &rrect, Direction dir, unsigned startIndex)
|
| this->close();
|
|
|
| SkPathRef::Editor ed(&fPathRef);
|
| - ed.setIsRRect(isRRect);
|
| + ed.setIsRRect(isRRect, dir, startIndex);
|
|
|
| SkASSERT(this->countVerbs() == initialVerbCount + kVerbs);
|
| }
|
| @@ -1259,7 +1259,7 @@ void SkPath::addOval(const SkRect &oval, Direction dir, unsigned startPointIndex
|
|
|
| SkPathRef::Editor ed(&fPathRef);
|
|
|
| - ed.setIsOval(isOval);
|
| + ed.setIsOval(isOval, kCCW_Direction == dir, startPointIndex);
|
| }
|
|
|
| void SkPath::addCircle(SkScalar x, SkScalar y, SkScalar r, Direction dir) {
|
|
|