| Index: src/utils/SkDashPath.cpp
|
| diff --git a/src/utils/SkDashPath.cpp b/src/utils/SkDashPath.cpp
|
| index 833c7ccce111dc587f03ef1ff5551d443bf14787..8317d20f3725fb2d0d7937f4923d5b992707c20b 100644
|
| --- a/src/utils/SkDashPath.cpp
|
| +++ b/src/utils/SkDashPath.cpp
|
| @@ -216,7 +216,8 @@ private:
|
| bool SkDashPath::InternalFilter(SkPath* dst, const SkPath& src, SkStrokeRec* rec,
|
| const SkRect* cullRect, const SkScalar aIntervals[],
|
| int32_t count, SkScalar initialDashLength, int32_t initialDashIndex,
|
| - SkScalar intervalLength) {
|
| + SkScalar intervalLength,
|
| + StrokeRecApplication strokeRecApplication) {
|
|
|
| // we do nothing if the src wants to be filled
|
| SkStrokeRec::Style style = rec->getStyle();
|
| @@ -235,7 +236,8 @@ bool SkDashPath::InternalFilter(SkPath* dst, const SkPath& src, SkStrokeRec* rec
|
| }
|
|
|
| SpecialLineRec lineRec;
|
| - bool specialLine = lineRec.init(*srcPtr, dst, rec, count >> 1, intervalLength);
|
| + bool specialLine = (StrokeRecApplication::kAllow == strokeRecApplication) &&
|
| + lineRec.init(*srcPtr, dst, rec, count >> 1, intervalLength);
|
|
|
| SkPathMeasure meas(*srcPtr, false, rec->getResScale());
|
|
|
|
|