| Index: Source/platform/fonts/FontDescription.cpp
|
| diff --git a/Source/platform/fonts/FontDescription.cpp b/Source/platform/fonts/FontDescription.cpp
|
| index b26c41fbcfd00fe2e4aa18aa40964059dd6be770..80cceceee5a9b4daded45498a5f49b49b3573c2c 100644
|
| --- a/Source/platform/fonts/FontDescription.cpp
|
| +++ b/Source/platform/fonts/FontDescription.cpp
|
| @@ -31,22 +31,13 @@
|
| #include "platform/fonts/FontDescription.h"
|
|
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| +#include "wtf/SizeAssertions.h"
|
| #include "wtf/text/AtomicStringHash.h"
|
| #include "wtf/text/StringHash.h"
|
|
|
| namespace blink {
|
|
|
| -struct SameSizeAsFontDescription {
|
| - FontFamily familyList;
|
| - RefPtr<FontFeatureSettings> m_featureSettings;
|
| - AtomicString locale;
|
| - float sizes[6];
|
| - // FXIME: Make them fit into one word.
|
| - uint32_t bitfields;
|
| - uint32_t bitfields2 : 7;
|
| -};
|
| -
|
| -static_assert(sizeof(FontDescription) == sizeof(SameSizeAsFontDescription), "FontDescription should stay small");
|
| +ASSERT_SIZE(FontDescription, 48, 64);
|
|
|
| TypesettingFeatures FontDescription::s_defaultTypesettingFeatures = 0;
|
|
|
|
|