diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/FontWidthVariant.h')
-rw-r--r-- | Source/WebCore/platform/graphics/FontWidthVariant.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/FontWidthVariant.h b/Source/WebCore/platform/graphics/FontWidthVariant.h index bbc98ee5c..f44329745 100644 --- a/Source/WebCore/platform/graphics/FontWidthVariant.h +++ b/Source/WebCore/platform/graphics/FontWidthVariant.h @@ -28,7 +28,17 @@ namespace WebCore { -enum FontWidthVariant { RegularWidth, HalfWidth, ThirdWidth, QuarterWidth }; +enum FontWidthVariant { + RegularWidth, + HalfWidth, + ThirdWidth, + QuarterWidth, + LastFontWidthVariant = QuarterWidth +}; + +const unsigned FontWidthVariantWidth = 2; + +COMPILE_ASSERT(LastFontWidthVariant >> FontWidthVariantWidth == 0, FontWidthVariantWidth_is_correct); } // namespace WebCore |