| Index: Source/web/win/WebFontRendering.cpp
|
| diff --git a/Source/web/win/WebFontRendering.cpp b/Source/web/win/WebFontRendering.cpp
|
| index 16cd61c8d38bceef37e3fd2d22df70ad624f2e07..4667abb7afc7f74bcf12751aa9cf76651faa5a5c 100644
|
| --- a/Source/web/win/WebFontRendering.cpp
|
| +++ b/Source/web/win/WebFontRendering.cpp
|
| @@ -39,4 +39,23 @@ void WebFontRendering::addSideloadedFontForTesting(SkTypeface* typeface)
|
| blink::FontCache::addSideloadedFontForTesting(typeface);
|
| }
|
|
|
| +// static
|
| +void WebFontRendering::setMenuFontMetrics(const wchar_t* familyName, int32_t fontHeight)
|
| +{
|
| + blink::FontCache::setMenuFontMetrics(familyName, fontHeight);
|
| +}
|
| +
|
| +// static
|
| +void WebFontRendering::setSmallCaptionFontMetrics(const wchar_t* familyName, int32_t fontHeight)
|
| +{
|
| + blink::FontCache::setSmallCaptionFontMetrics(familyName, fontHeight);
|
| +}
|
| +
|
| +// static
|
| +void WebFontRendering::setStatusFontMetrics(const wchar_t* familyName, int32_t fontHeight)
|
| +{
|
| + blink::FontCache::setStatusFontMetrics(familyName, fontHeight);
|
| +}
|
| +
|
| +
|
| } // namespace blink
|
|
|