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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineWidth.cpp

Issue 2748103015: Replace ASSERT with DCHECK in core/layout/<sub dirs> (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/line/LineWidth.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/LineWidth.cpp b/third_party/WebKit/Source/core/layout/line/LineWidth.cpp
index 567d9cc68ab89e3730f7b6b469369bb9760a4c8f..bb39a543a158442f7f1e0f92cf821d10eb4c6ffb 100644
--- a/third_party/WebKit/Source/core/layout/line/LineWidth.cpp
+++ b/third_party/WebKit/Source/core/layout/line/LineWidth.cpp
@@ -189,8 +189,8 @@ void LineWidth::wrapNextToShapeOutside(bool isFirstLine) {
}
void LineWidth::fitBelowFloats(bool isFirstLine) {
- ASSERT(!m_committedWidth);
- ASSERT(!fitsOnLine());
+ DCHECK(!m_committedWidth);
+ DCHECK(!fitsOnLine());
m_block.placeNewFloats(m_block.logicalHeight(), this);
LayoutUnit floatLogicalBottom;
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/LineBreaker.cpp ('k') | third_party/WebKit/Source/core/layout/line/RootInlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698