| Index: src/core/SkScan_Hairline.cpp
|
| diff --git a/src/core/SkScan_Hairline.cpp b/src/core/SkScan_Hairline.cpp
|
| index ce3fe2b6042413639766e5c58427c4e83599c440..cc57bb6d63ce1cfba512d06bd760666ff9ead96e 100644
|
| --- a/src/core/SkScan_Hairline.cpp
|
| +++ b/src/core/SkScan_Hairline.cpp
|
| @@ -593,10 +593,12 @@ void hair_path(const SkPath& path, const SkRasterClip& rclip, SkBlitter* blitter
|
| break;
|
| }
|
| if (SkPaint::kButt_Cap != capStyle) {
|
| +#if !defined(SK_SUPPORT_LEGACY_HAIRLINE_END_CAP)
|
| if (prevVerb == SkPath::kMove_Verb &&
|
| verb >= SkPath::kLine_Verb && verb <= SkPath::kCubic_Verb) {
|
| firstPt = pts[0]; // the curve moved the initial point, so close to it instead
|
| }
|
| +#endif
|
| prevVerb = verb;
|
| }
|
| }
|
|
|