Index: Source/core/rendering/RenderTableSection.cpp |
diff --git a/Source/core/rendering/RenderTableSection.cpp b/Source/core/rendering/RenderTableSection.cpp |
index a41c97a5de7950ca19ec976c8127dd7d73bced19..b779a5f80271bb4b27681adf620986b14ac4f8b9 100644 |
--- a/Source/core/rendering/RenderTableSection.cpp |
+++ b/Source/core/rendering/RenderTableSection.cpp |
@@ -351,7 +351,7 @@ void RenderTableSection::distributeExtraRowSpanHeightToPercentRows(RenderTableCe |
// problem in this function. |
static void updatePositionIncreasedWithRowHeight(long long extraHeight, long long rowHeight, long long totalHeight, int& accumulatedPositionIncrease, int& remainder) |
{ |
- COMPILE_ASSERT(sizeof(long long int) > sizeof(int), int_should_be_less_than_longlong); |
+ static_assert(sizeof(long long int) > sizeof(int), "int should be smaller than long long"); |
accumulatedPositionIncrease += (extraHeight * rowHeight) / totalHeight; |
remainder += (extraHeight * rowHeight) % totalHeight; |