Index: Source/core/svg/GradientAttributes.h |
diff --git a/Source/core/svg/GradientAttributes.h b/Source/core/svg/GradientAttributes.h |
index ceaccf9016653decea22405e7045bc315bf8ffe8..cf4b40078a845534ad4b45ef3b04231311ad94ab 100644 |
--- a/Source/core/svg/GradientAttributes.h |
+++ b/Source/core/svg/GradientAttributes.h |
@@ -90,7 +90,7 @@ struct SameSizeAsGradientAttributes { |
unsigned c : 8; |
}; |
-COMPILE_ASSERT(sizeof(GradientAttributes) == sizeof(SameSizeAsGradientAttributes), GradientAttributes_size_guard); |
+static_assert(sizeof(GradientAttributes) == sizeof(SameSizeAsGradientAttributes), "GradientAttributes should stay small"); |
} // namespace blink |