Index: Source/platform/Length.cpp |
diff --git a/Source/platform/Length.cpp b/Source/platform/Length.cpp |
index 5da3aba51ceb027299ab02305657eae3de17fdec..1107e0411b1eb15e8bde49ac84405efbb2771a3a 100644 |
--- a/Source/platform/Length.cpp |
+++ b/Source/platform/Length.cpp |
@@ -250,6 +250,6 @@ struct SameSizeAsLength { |
int32_t value; |
int32_t metaData; |
}; |
-COMPILE_ASSERT(sizeof(Length) == sizeof(SameSizeAsLength), length_should_stay_small); |
+static_assert(sizeof(Length) == sizeof(SameSizeAsLength), "length should stay small"); |
} // namespace blink |