Index: src/pathops/SkPathOpsTSect.h |
diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h |
index cf63b334d54108033694924bdf8d6f90778b62a4..48aa540945ddffc3d9950480800985b61d694923 100644 |
--- a/src/pathops/SkPathOpsTSect.h |
+++ b/src/pathops/SkPathOpsTSect.h |
@@ -427,7 +427,7 @@ void SkTSect<TCurve, OppCurve>::addForPerp(SkTSpan<OppCurve, TCurve>* span, doub |
template<typename TCurve, typename OppCurve> |
double SkTSpan<TCurve, OppCurve>::closestBoundedT(const SkDPoint& pt) const { |
double result = -1; |
- double closest = FLT_MAX; |
+ double closest = DBL_MAX; |
const SkTSpanBounded<OppCurve, TCurve>* testBounded = fBounded; |
while (testBounded) { |
const SkTSpan<OppCurve, TCurve>* test = testBounded->fBounded; |