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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.h

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/LayoutTable.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.h b/third_party/WebKit/Source/core/layout/LayoutTable.h
index d5bc8c9284b60e0538c645f1b930a74ad0bf8567..ca71f1e92838c84f837b05c9b06d9d7a8fdb8fa3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h
@@ -432,7 +432,7 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
void paintMask(const PaintInfo&, const LayoutPoint&) const final;
const CollapsedBorderValues& collapsedBorders() const {
- ASSERT(m_collapsedBordersValid);
+ DCHECK(m_collapsedBordersValid);
return m_collapsedBorders;
}
@@ -606,7 +606,7 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock {
};
inline LayoutTableSection* LayoutTable::topSection() const {
- ASSERT(!needsSectionRecalc());
+ DCHECK(!needsSectionRecalc());
if (m_head)
return m_head;
if (m_firstBody)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698