| Index: Source/platform/fonts/FontDescription.h
|
| diff --git a/Source/platform/fonts/FontDescription.h b/Source/platform/fonts/FontDescription.h
|
| index 2bb25d1b79d49d82f75d64f820bdd45e88e2d0b7..f736b52867fcd744493a643c250d152edcd8f4c6 100644
|
| --- a/Source/platform/fonts/FontDescription.h
|
| +++ b/Source/platform/fonts/FontDescription.h
|
| @@ -178,8 +178,8 @@ public:
|
| FontCacheKey cacheKey(const FontFaceCreationParams&, FontTraits desiredTraits = FontTraits(0)) const;
|
|
|
| void setFamily(const FontFamily& family) { m_familyList = family; }
|
| - void setComputedSize(float s) { m_computedSize = clampToFloat(s); }
|
| - void setSpecifiedSize(float s) { m_specifiedSize = clampToFloat(s); }
|
| + void setComputedSize(float s) { m_computedSize = clampTo<float>(s); }
|
| + void setSpecifiedSize(float s) { m_specifiedSize = clampTo<float>(s); }
|
| void setStyle(FontStyle i) { m_style = i; }
|
| void setVariant(FontVariant c) { m_variant = c; }
|
| void setVariantLigatures(const VariantLigatures&);
|
|
|