Index: Source/platform/fonts/FontDescription.h |
diff --git a/Source/platform/fonts/FontDescription.h b/Source/platform/fonts/FontDescription.h |
index 88d2bd7e05ff650705720d1cca0ef1693a7e4b58..6036d92cee5616a3af718a5d376893006459d215 100644 |
--- a/Source/platform/fonts/FontDescription.h |
+++ b/Source/platform/fonts/FontDescription.h |
@@ -113,8 +113,8 @@ public: |
bool isAbsoluteSize() const { return m_isAbsoluteSize; } |
FontWeight weight() const { return static_cast<FontWeight>(m_weight); } |
FontStretch stretch() const { return static_cast<FontStretch>(m_stretch); } |
- FontWeight lighterWeight() const; |
- FontWeight bolderWeight() const; |
+ static FontWeight lighterWeight(FontWeight); |
+ static FontWeight bolderWeight(FontWeight); |
GenericFamilyType genericFamily() const { return static_cast<GenericFamilyType>(m_genericFamily); } |
// only use fixed default size when there is only one font family, and that family is "monospace" |