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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSCalcLength.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
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(

Powered by Google App Engine
This is Rietveld 408576698