| Index: Source/platform/text/TextRun.cpp
|
| diff --git a/Source/platform/text/TextRun.cpp b/Source/platform/text/TextRun.cpp
|
| index c9ef82a6baa42a1a0ba5181f4d9a1f3b3c78f26b..e5695cfc234fe05e5d1933b25cd3f56783c52b60 100644
|
| --- a/Source/platform/text/TextRun.cpp
|
| +++ b/Source/platform/text/TextRun.cpp
|
| @@ -40,7 +40,7 @@ struct ExpectedTextRunSize {
|
| RefPtr<TextRun::RenderingContext> renderingContext;
|
| };
|
|
|
| -COMPILE_ASSERT(sizeof(TextRun) == sizeof(ExpectedTextRunSize), TextRun_is_not_of_expected_size);
|
| +static_assert(sizeof(TextRun) == sizeof(ExpectedTextRunSize), "TextRun should have expected size");
|
|
|
| void TextRun::setText(const String& string)
|
| {
|
|
|