Chromium Code Reviews| Index: Source/platform/text/TextRun.cpp |
| diff --git a/Source/platform/text/TextRun.cpp b/Source/platform/text/TextRun.cpp |
| index c9ef82a6baa42a1a0ba5181f4d9a1f3b3c78f26b..1ae112a36a32c3f834cbcac0465a78eb97504dcf 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 has expected_size"); |
|
Nico
2014/12/17 23:24:43
s/has/should have/?
s/expected_size/expected size/
Mostyn Bramley-Moore
2014/12/17 23:33:54
Done.
|
| void TextRun::setText(const String& string) |
| { |