Chromium Code Reviews| Index: cc/base/math_util.cc |
| diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc |
| index 262f6586dbab585a612378f71c0bcd95f0004cc8..c37a60a3826ca50b9cc49d3c4415328f59a6fe84 100644 |
| --- a/cc/base/math_util.cc |
| +++ b/cc/base/math_util.cc |
| @@ -817,6 +817,10 @@ ScopedSubnormalFloatDisabler::~ScopedSubnormalFloatDisabler() { |
| #endif |
| } |
| +bool MathUtil::IsFloatNearlyTheSame(float left, float right) { |
|
enne (OOO)
2017/04/21 22:54:33
I'm not sure we need both IsFloatNearlyTheSame and
|
| + return IsNearlyTheSame(left, right); |
| +} |
| + |
| bool MathUtil::IsNearlyTheSameForTesting(float left, float right) { |
| return IsNearlyTheSame(left, right); |
| } |