Index: Source/core/rendering/PaintPhase.cpp |
diff --git a/Source/core/rendering/PaintPhase.cpp b/Source/core/rendering/PaintPhase.cpp |
index b24895aa3de4cae0ed9dbcdb71d8604cdf27f9dd..4aa813c9a691f5372c98dc04b128db68c0c8a49f 100644 |
--- a/Source/core/rendering/PaintPhase.cpp |
+++ b/Source/core/rendering/PaintPhase.cpp |
@@ -11,7 +11,7 @@ |
namespace blink { |
// DisplayItem types must be kept in sync with PaintPhase. |
-COMPILE_ASSERT((unsigned)DisplayItem::DrawingPaintPhaseBlockBackground == (unsigned)PaintPhaseBlockBackground, DisplayItem_Type_should_stay_in_sync); |
-COMPILE_ASSERT((unsigned)DisplayItem::DrawingPaintPhaseClippingMask == (unsigned)PaintPhaseClippingMask, DisplayItem_Type_should_stay_in_sync); |
+static_assert((unsigned)DisplayItem::DrawingPaintPhaseBlockBackground == (unsigned)PaintPhaseBlockBackground, "DisplayItem Type should stay in sync"); |
+static_assert((unsigned)DisplayItem::DrawingPaintPhaseClippingMask == (unsigned)PaintPhaseClippingMask, "DisplayItem Type should stay in sync"); |
} // namespace blink |