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

Unified Diff: third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Split some DCHECKs and add DCHECK_ops wherever possible Created 3 years, 8 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/TableLayoutAlgorithmFixed.cpp
diff --git a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
index 42157a4a8f46bea48c2329fc1f063333d81130c4..f7d5a1f155f8e24c6cb36b6dc89bc1dc2575a737 100644
--- a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
+++ b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp
@@ -333,7 +333,7 @@ void TableLayoutAlgorithmFixed::layout() {
calcWidth[nEffCols - 1] += remainingWidth;
}
- ASSERT(m_table->effectiveColumnPositions().size() == nEffCols + 1);
+ DCHECK_EQ(m_table->effectiveColumnPositions().size(), nEffCols + 1);
int pos = 0;
for (unsigned i = 0; i < nEffCols; i++) {
m_table->setEffectiveColumnPosition(i, pos);

Powered by Google App Engine
This is Rietveld 408576698