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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.cpp

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (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/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 9a074fa73dc3324ba23bfe504b34ac13fc40521c..a3b7e867a42c96212aaf748004667067122ad065 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -2156,7 +2156,7 @@ bool LayoutBox::isBreakBetweenControllable(EBreakBetween breakValue) const {
return false;
curr = curr->containingBlock();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
@@ -2229,7 +2229,7 @@ static inline int fragmentainerBreakPrecedence(EBreakBetween breakValue) {
switch (breakValue) {
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
// fall-through
case EBreakBetween::kAuto:
return 0;
@@ -2685,7 +2685,7 @@ LayoutUnit LayoutBox::computeIntrinsicLogicalWidthUsing(
std::min(maxLogicalWidth, fillAvailableMeasure(availableLogicalWidth)));
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -3162,7 +3162,7 @@ LayoutUnit LayoutBox::computeIntrinsicLogicalContentHeightUsing(
return containingBlock()->availableLogicalHeight(
ExcludeMarginBorderPadding) -
borderAndPadding;
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -3382,7 +3382,7 @@ LayoutUnit LayoutBox::computeReplacedLogicalWidthUsing(
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}

Powered by Google App Engine
This is Rietveld 408576698