Index: third_party/WebKit/Source/core/css/cssom/CSSCalcLength.cpp |
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.cpp b/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.cpp |
index 9f592aa357f59c4ddfec2b988a0a121057a0ce7e..67a18a9f3a60977b8a9e2f485eb3b288d3aaef2f 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.cpp |
+++ b/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.cpp |
@@ -223,8 +223,9 @@ CSSCalcExpressionNode* CSSCalcLength::UnitData::toCSSCalcExpressionNode() |
double value = getAtIndex(i); |
if (node) { |
node = CSSCalcValue::createExpressionNode( |
- node, CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create( |
- std::abs(value), unitFromIndex(i))), |
+ node, |
+ CSSCalcValue::createExpressionNode( |
+ CSSPrimitiveValue::create(std::abs(value), unitFromIndex(i))), |
value >= 0 ? CalcAdd : CalcSubtract); |
} else { |
node = CSSCalcValue::createExpressionNode( |