Chromium Code Reviews| Index: Source/platform/text/TextRun.cpp |
| diff --git a/Source/platform/text/TextRun.cpp b/Source/platform/text/TextRun.cpp |
| index 2cad6468cd5b6777449da780b7dae46490ea4eb9..1671b9b37c9bb99d8c7e43b29a937be84ee27553 100644 |
| --- a/Source/platform/text/TextRun.cpp |
| +++ b/Source/platform/text/TextRun.cpp |
| @@ -37,6 +37,7 @@ struct ExpectedTextRunSize { |
| uint32_t bitfields : 10; |
|
leviw_travelin_and_unemployed
2014/08/11 17:34:46
It looks like we're only actually using 8 right no
dw.im
2014/08/12 02:47:09
If we pack m_textJustify into two bits, it become
|
| unsigned anUnsigned; |
| RefPtr<TextRun::RenderingContext> renderingContext; |
| + ETextJustify m_textJustify; |
| }; |
| COMPILE_ASSERT(sizeof(TextRun) == sizeof(ExpectedTextRunSize), TextRun_is_not_of_expected_size); |