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

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

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Check if DCHECK is ON in TextAutosizer Created 3 years, 9 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/LayoutTableRow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
index 3184ad5c5a4ef04f7f70463640b98b687cc92e81..decf5b332670c787379b72355f9eef2010926c75 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -162,7 +162,7 @@ void LayoutTableRow::addChild(LayoutObject* child, LayoutObject* beforeChild) {
LayoutTableCell* cell = toLayoutTableCell(child);
- ASSERT(!beforeChild || beforeChild->isTableCell());
+ DCHECK(!beforeChild || beforeChild->isTableCell());
LayoutTableBoxComponent::addChild(cell, beforeChild);
// Generated content can result in us having a null section so make sure to
@@ -187,7 +187,7 @@ void LayoutTableRow::addChild(LayoutObject* child, LayoutObject* beforeChild) {
}
void LayoutTableRow::layout() {
- ASSERT(needsLayout());
+ DCHECK(needsLayout());
LayoutAnalyzer::Scope analyzer(*this);
bool paginated = view()->layoutState()->isPaginated();

Powered by Google App Engine
This is Rietveld 408576698