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

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

Issue 1826733002: Remove ASSERT_WITH_MESSAGE family. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/LayoutTableSection.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
index 89b925af6f41a1551f1d609cd14bd23c85fada16..2ac553a6a95458343b193dcf85df35cf5deb28fb 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -395,7 +395,7 @@ void LayoutTableSection::distributeWholeExtraRowSpanHeightToPercentRows(LayoutTa
m_rowPos[row + 1] += accumulatedPositionIncrease;
}
- ASSERT_WITH_MESSAGE(!round(remainder), "remainder was %f", remainder);
+ DCHECK(!round(remainder)) << "remainder was " << remainder;
extraRowSpanningHeight -= accumulatedPositionIncrease;
}
@@ -419,7 +419,7 @@ void LayoutTableSection::distributeExtraRowSpanHeightToAutoRows(LayoutTableCell*
m_rowPos[row + 1] += accumulatedPositionIncrease;
}
- ASSERT_WITH_MESSAGE(!round(remainder) , "remainder was %f", remainder);
+ DCHECK(!round(remainder)) << "remainder was " << remainder;
extraRowSpanningHeight -= accumulatedPositionIncrease;
}
@@ -443,7 +443,7 @@ void LayoutTableSection::distributeExtraRowSpanHeightToRemainingRows(LayoutTable
m_rowPos[row + 1] += accumulatedPositionIncrease;
}
- ASSERT_WITH_MESSAGE(!round(remainder), "remainder was %f", remainder);
+ DCHECK(!round(remainder)) << "remainder was " << remainder;
extraRowSpanningHeight -= accumulatedPositionIncrease;
}

Powered by Google App Engine
This is Rietveld 408576698