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

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

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (Closed)
Patch Set: 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 da3c689eb279b90f9eaf8e78a50e8e219029dc6c..0fae0d9d22c4b7f8c66b7dacb67d3990bb892da5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -2153,7 +2153,7 @@ bool LayoutBox::isBreakBetweenControllable(EBreakBetween breakValue) const {
return false;
curr = curr->containingBlock();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
@@ -2226,7 +2226,7 @@ static inline int fragmentainerBreakPrecedence(EBreakBetween breakValue) {
switch (breakValue) {
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
// fall-through
case EBreakBetween::kAuto:
return 0;
@@ -2682,7 +2682,7 @@ LayoutUnit LayoutBox::computeIntrinsicLogicalWidthUsing(
std::min(maxLogicalWidth, fillAvailableMeasure(availableLogicalWidth)));
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -3159,7 +3159,7 @@ LayoutUnit LayoutBox::computeIntrinsicLogicalContentHeightUsing(
return containingBlock()->availableLogicalHeight(
ExcludeMarginBorderPadding) -
borderAndPadding;
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -3379,7 +3379,7 @@ LayoutUnit LayoutBox::computeReplacedLogicalWidthUsing(
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}

Powered by Google App Engine
This is Rietveld 408576698