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

Unified Diff: third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.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/layout/TableLayoutAlgorithmAuto.cpp
diff --git a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
index 0c4c42d5cf5195a8fe428e3262db46ad56be027d..6913285848f3324c68b61692b28350f811c74443 100644
--- a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
+++ b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp
@@ -236,8 +236,9 @@ static bool shouldScaleColumnsForSelf(LayoutTable* table) {
cb = cb->containingBlock();
// TODO(dgrogan): Should the second clause check for isFixed() instead?
- if (!cb->isTableCell() || (!cb->style()->width().isAuto() &&
- !cb->style()->width().isPercentOrCalc()))
+ if (!cb->isTableCell() ||
+ (!cb->style()->width().isAuto() &&
+ !cb->style()->width().isPercentOrCalc()))
return true;
LayoutTableCell* cell = toLayoutTableCell(cb);

Powered by Google App Engine
This is Rietveld 408576698