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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutGrid.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/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index 9cef256ddbad31b5c92ea199f6aa4c92f00ff4b2..d97816e9b8c5b900599694276d4a6a41a7cf8e7e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -438,7 +438,7 @@ LayoutUnit LayoutGrid::computeIntrinsicLogicalContentHeightUsing(
return containingBlock()->availableLogicalHeight(
ExcludeMarginBorderPadding) -
borderAndPadding;
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -1377,7 +1377,7 @@ static LayoutUnit computeOverflowAlignmentOffset(OverflowAlignment overflow,
return offset;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -1740,7 +1740,7 @@ GridAxisPosition LayoutGrid::columnAxisPositionForChild(
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return GridAxisStart;
}
@@ -1819,7 +1819,7 @@ GridAxisPosition LayoutGrid::rowAxisPositionForChild(
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return GridAxisStart;
}
@@ -1861,7 +1861,7 @@ LayoutUnit LayoutGrid::columnAxisOffsetForChild(const LayoutBox& child) const {
}
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -1903,7 +1903,7 @@ LayoutUnit LayoutGrid::rowAxisOffsetForChild(const LayoutBox& child) const {
}
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -1922,7 +1922,7 @@ ContentPosition static resolveContentDistributionFallback(
return ContentPositionNormal;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return ContentPositionNormal;
}
@@ -1957,7 +1957,7 @@ static ContentAlignmentData contentDistributionOffset(
return {};
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return {};
}
@@ -2033,7 +2033,7 @@ ContentAlignmentData LayoutGrid::computeContentPositionAndDistributionOffset(
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return {LayoutUnit(), LayoutUnit()};
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutDetailsMarker.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698