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

Unified Diff: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.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/shapes/ShapeOutsideInfo.cpp
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
index 400674b4ce50af9e5cfbcacdeb16760a05d8a984..0ab44e9ec15e990faace64d2e6f39f1ce3f41d09 100644
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
@@ -80,7 +80,7 @@ void ShapeOutsideInfo::setReferenceBoxLogicalSize(
m_layoutBox.borderAndPaddingWidth());
break;
case BoxMissing:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
@@ -234,7 +234,7 @@ inline LayoutUnit borderBeforeInWritingMode(const LayoutBox& layoutBox,
return LayoutUnit(layoutBox.borderRight());
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit(layoutBox.borderBefore());
}
@@ -250,7 +250,7 @@ inline LayoutUnit borderAndPaddingBeforeInWritingMode(
return layoutBox.borderRight() + layoutBox.paddingRight();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return layoutBox.borderAndPaddingBefore();
}
@@ -272,7 +272,7 @@ LayoutUnit ShapeOutsideInfo::logicalTopOffset() const {
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -322,7 +322,7 @@ LayoutUnit ShapeOutsideInfo::logicalLeftOffset() const {
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/shapes/Shape.cpp ('k') | third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698