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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutRubyBase.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/LayoutRubyBase.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp b/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
index 1a082a529732ddc00c7c0e3ff36f94f5d20640b1..3dc47e6a9c77711d111de5aab9987be0c4abc340 100644
--- a/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
@@ -55,7 +55,7 @@ void LayoutRubyBase::moveChildren(LayoutRubyBase* toBase,
// and appends them to toBase.
DCHECK(toBase);
// Callers should have handled the percent height descendant map.
- ASSERT(!hasPercentHeightDescendants());
+ DCHECK(!hasPercentHeightDescendants());
if (beforeChild && beforeChild->parent() != this)
beforeChild = splitAnonymousBoxesAroundChild(beforeChild);
@@ -73,7 +73,7 @@ void LayoutRubyBase::moveChildren(LayoutRubyBase* toBase,
void LayoutRubyBase::moveInlineChildren(LayoutRubyBase* toBase,
LayoutObject* beforeChild) {
- ASSERT(childrenInline());
+ DCHECK(childrenInline());
DCHECK(toBase);
if (!firstChild())
@@ -101,7 +101,7 @@ void LayoutRubyBase::moveInlineChildren(LayoutRubyBase* toBase,
void LayoutRubyBase::moveBlockChildren(LayoutRubyBase* toBase,
LayoutObject* beforeChild) {
- ASSERT(!childrenInline());
+ DCHECK(!childrenInline());
DCHECK(toBase);
if (!firstChild())
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutRuby.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698