Index: src/core/SkScaleToSides.h |
diff --git a/src/core/SkScaleToSides.h b/src/core/SkScaleToSides.h |
index c3fa172f672588d27c29e95436c0bc0320d05f3c..9e761ab36101e22c0f43824652304f54dc7c57cc 100644 |
--- a/src/core/SkScaleToSides.h |
+++ b/src/core/SkScaleToSides.h |
@@ -45,10 +45,8 @@ public: |
// If newMaxRadius forces the total over the limit, then it needs to be |
// reduced by one ULP to be less than limit - newMinRadius. |
- // Note: nexttowardf is a c99 call and should be std::nexttoward, but this is not |
mtklein
2016/01/22 17:44:32
The same note does still apply to nextafterf vs. s
herb_g
2016/01/22 17:52:34
Done.
|
- // implemented in the ARM compiler. |
if (newMaxRadius + newMinRadius > limit) { |
- newMaxRadius = nexttowardf(newMaxRadius, 0.0); |
+ newMaxRadius = nextafterf(newMaxRadius, 0.0f); |
} |
*maxRadius = newMaxRadius; |
} |