| Index: include/core/SkPath.h
|
| diff --git a/include/core/SkPath.h b/include/core/SkPath.h
|
| index 4d99fdd0ebbc804f6314da829dfa23923e0765d0..d1af4f31b6591799d3640279ca71d8631a212fd6 100644
|
| --- a/include/core/SkPath.h
|
| +++ b/include/core/SkPath.h
|
| @@ -183,7 +183,7 @@ public:
|
| */
|
| bool isOval(SkRect* rect, Direction* dir = nullptr,
|
| unsigned* start = nullptr) const {
|
| - bool isCCW;
|
| + bool isCCW = false;
|
| bool result = fPathRef->isOval(rect, &isCCW, start);
|
| if (dir && result) {
|
| *dir = isCCW ? kCCW_Direction : kCW_Direction;
|
| @@ -205,7 +205,7 @@ public:
|
| */
|
| bool isRRect(SkRRect* rrect, Direction* dir = nullptr,
|
| unsigned* start = nullptr) const {
|
| - bool isCCW;
|
| + bool isCCW = false;
|
| bool result = fPathRef->isRRect(rrect, &isCCW, start);
|
| if (dir && result) {
|
| *dir = isCCW ? kCCW_Direction : kCW_Direction;
|
|
|