| Index: Source/core/platform/CalculationValue.cpp
|
| diff --git a/Source/core/platform/CalculationValue.cpp b/Source/core/platform/CalculationValue.cpp
|
| index 8d6b45e033a0385bf28b2dde0aeada2d0066e373..e45aae5fbe20fa26946211ea26b6aab1444aa9b3 100644
|
| --- a/Source/core/platform/CalculationValue.cpp
|
| +++ b/Source/core/platform/CalculationValue.cpp
|
| @@ -63,8 +63,8 @@ PassRefPtr<CalculationValue> CalculationValue::create(PassOwnPtr<CalcExpressionN
|
| float CalculationValue::evaluate(float maxValue) const
|
| {
|
| float result = m_value->evaluate(maxValue);
|
| - // FIXME calc https://webkit.org/b/80411 : result is NaN when there is a division
|
| - // by zero which isn't found at parse time.
|
| + // FIXME calc https://webkit.org/b/80411 : result is NaN when there is a division
|
| + // by zero which isn't found at parse time.
|
| if (std::isnan(result))
|
| return 0;
|
| return m_isNonNegative && result < 0 ? 0 : result;
|
|
|