Index: src/core/SkPaint.cpp |
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp |
index 6c6f0e6cb9a0ffab1a52c4758acb805662b49f85..d6948dd83fb60c540b4afa3015ad4161c7d3ba36 100644 |
--- a/src/core/SkPaint.cpp |
+++ b/src/core/SkPaint.cpp |
@@ -1696,7 +1696,7 @@ void SkScalerContext::MakeRec(const SkPaint& paint, |
* With higher values lcd fringing is worse and the smoothing effect of |
* partial coverage is diminished. |
*/ |
- rec->setContrast(SkFloatToScalar(0.5f)); |
+ rec->setContrast(0.5f); |
#endif |
rec->fReservedAlign = 0; |