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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.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/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 34394d9fefa93349d81016ebb644b680f17f947e..69e8ef4926e9d1840e445324c309c5d2c23ed883 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -2749,7 +2749,7 @@ LayoutUnit LayoutBlockFlow::getClearDelta(LayoutBox* child,
if (newLogicalTop < logicalTop)
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
return result;
}
@@ -3071,7 +3071,7 @@ void LayoutBlockFlow::removeChild(LayoutObject* oldChild) {
else if (curr->isLayoutBlockFlow())
toLayoutBlockFlow(curr)->setContinuation(nextContinuation);
else
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
@@ -4237,7 +4237,7 @@ LayoutMultiColumnFlowThread* LayoutBlockFlow::createMultiColumnFlowThread(
UseCounter::count(document(), UseCounter::CSSOverflowPaged);
return LayoutPagedFlowThread::createAnonymous(document(), styleRef());
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}
@@ -4519,7 +4519,7 @@ PositionWithAffinity LayoutBlockFlow::positionForPoint(
}
// Can't reach this. We have a root line box, but it has no kids.
- // FIXME: This should ASSERT_NOT_REACHED(), but clicking on placeholder text
+ // FIXME: This should NOTREACHED(), but clicking on placeholder text
// seems to hit this code path.
return createPositionWithAffinity(0);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698