Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1402)

Unified Diff: Source/core/platform/CalculationValue.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/CalculationValue.h ('k') | Source/core/platform/Clock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/platform/CalculationValue.h ('k') | Source/core/platform/Clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698