Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp |
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
index 2070ee42878fe4a7cb0ff00fb83db9de00edf213..09c515e572f43798ccda716bcf1ad91d2f099890 100644 |
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp |
@@ -86,7 +86,7 @@ BorderImageLength animatableValueToBorderImageLength(const AnimatableValue* valu |
template<typename T> T animatableValueRoundClampTo(const AnimatableValue* value, T min = defaultMinimumForClamp<T>(), T max = defaultMaximumForClamp<T>()) |
{ |
- COMPILE_ASSERT(WTF::IsInteger<T>::value, ShouldUseIntegralTypeTWhenRoundingValues); |
+ static_assert(WTF::IsInteger<T>::value, "should use integral type T when rounding values"); |
return clampTo<T>(round(toAnimatableDouble(value)->toDouble()), min, max); |
} |