Index: src/core/SkGeometry.cpp |
diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp |
index 9b15f9f1f9429e5c5ad3455b07e78f60ea00721e..11d52b594e303495a73523090f30d33a01216679 100644 |
--- a/src/core/SkGeometry.cpp |
+++ b/src/core/SkGeometry.cpp |
@@ -1134,9 +1134,9 @@ bool SkXRayCrossesMonotonicCubic(const SkXRay& pt, const SkPoint cubic[4], bool* |
// instead of down |
if (cubic[3].fY > cubic[0].fY) { |
upper_t = SK_Scalar1; |
- lower_t = SkFloatToScalar(0); |
+ lower_t = 0; |
} else { |
- upper_t = SkFloatToScalar(0); |
+ upper_t = 0; |
lower_t = SK_Scalar1; |
} |
do { |