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

Unified Diff: third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp

Issue 2748103015: Replace ASSERT with DCHECK in core/layout/<sub dirs> (Closed)
Patch Set: Rebase with latest 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/line/RootInlineBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
index 5f6d60807a964114156add7f39ee213263353938..f5bce49f862006149558e683d6532d8b2538cebc 100644
--- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
@@ -654,7 +654,7 @@ LayoutUnit RootInlineBox::verticalPositionForBox(
return box->parent()->logicalTop();
LineLayoutBoxModel boxModel = box->boxModelObject();
- ASSERT(boxModel.isInline());
+ DCHECK(boxModel.isInline());
if (!boxModel.isInline())
return LayoutUnit();

Powered by Google App Engine
This is Rietveld 408576698