| Index: third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| index 697ce090f68bdc40dcdf379503a3fc5a9ad0dab5..d66b91f933db947fe44e09c52c5792c06b4130a5 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| @@ -179,7 +179,7 @@ static int getHeightForLineCount(const LayoutBlockFlow* blockFlow,
|
| }
|
|
|
| static RootInlineBox* lineAtIndex(const LayoutBlockFlow* blockFlow, int i) {
|
| - ASSERT(i >= 0);
|
| + DCHECK_GE(i, 0);
|
|
|
| if (blockFlow->style()->visibility() != EVisibility::kVisible)
|
| return nullptr;
|
| @@ -264,7 +264,7 @@ static void clearTruncation(LayoutBlockFlow* blockFlow) {
|
|
|
| LayoutDeprecatedFlexibleBox::LayoutDeprecatedFlexibleBox(Element& element)
|
| : LayoutBlock(&element) {
|
| - ASSERT(!childrenInline());
|
| + DCHECK(!childrenInline());
|
| m_stretchingChildren = false;
|
| if (!isAnonymous()) {
|
| const KURL& url = document().url();
|
| @@ -359,7 +359,7 @@ void LayoutDeprecatedFlexibleBox::computeIntrinsicLogicalWidths(
|
| }
|
|
|
| void LayoutDeprecatedFlexibleBox::layoutBlock(bool relayoutChildren) {
|
| - ASSERT(needsLayout());
|
| + DCHECK(needsLayout());
|
|
|
| if (!relayoutChildren && simplifiedLayout())
|
| return;
|
|
|