| Index: src/gpu/effects/GrDashingEffect.cpp
|
| diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp
|
| index 8a7ce013c12718f58020fbb0a682b1986f3b57a5..44974e8791f5cdbf7307e2bf87a2340922f17b31 100644
|
| --- a/src/gpu/effects/GrDashingEffect.cpp
|
| +++ b/src/gpu/effects/GrDashingEffect.cpp
|
| @@ -79,7 +79,7 @@ static SkScalar calc_end_adjustment(const SkPathEffect::DashInfo& info, const Sk
|
| }
|
| if (*endingInt > info.fIntervals[0]) {
|
| if (0 == info.fIntervals[0]) {
|
| - *endingInt -= 0.01; // make sure we capture the last zero size pnt (used if has caps)
|
| + *endingInt -= 0.01f; // make sure we capture the last zero size pnt (used if has caps)
|
| }
|
| return *endingInt - info.fIntervals[0];
|
| }
|
|
|