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

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

Issue 2770203002: Replace DCHECK with DCHECK_op and split some DCHECKs wherever necessary (Closed)
Patch Set: Add few more 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/LayoutTableBoxComponent.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h
index 3f5c49dcfb86e3a8efbb65474358313507d7ac04..71ed6fed4f882c41d436d36cc79b87fea83baec9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h
@@ -43,11 +43,11 @@ class CORE_EXPORT LayoutTableBoxComponent : public LayoutBox {
LayoutObjectChildList* children() { return &m_children; }
LayoutObject* firstChild() const {
- DCHECK(children() == virtualChildren());
+ DCHECK_EQ(children(), virtualChildren());
return children()->firstChild();
}
LayoutObject* lastChild() const {
- DCHECK(children() == virtualChildren());
+ DCHECK_EQ(children(), virtualChildren());
return children()->lastChild();
}

Powered by Google App Engine
This is Rietveld 408576698