Index: third_party/WebKit/Source/platform/fonts/FontDescription.h |
diff --git a/third_party/WebKit/Source/platform/fonts/FontDescription.h b/third_party/WebKit/Source/platform/fonts/FontDescription.h |
index a382603cb76c036e428ac7b17a9d8cb10317096d..22f106921285ec310cc945485379e45ceefa24d5 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontDescription.h |
+++ b/third_party/WebKit/Source/platform/fonts/FontDescription.h |
@@ -25,6 +25,7 @@ |
#ifndef FontDescription_h |
#define FontDescription_h |
+#include "SkFontStyle.h" |
#include "platform/FontFamilyNames.h" |
#include "platform/fonts/FontCacheKey.h" |
#include "platform/fonts/FontFamily.h" |
@@ -231,6 +232,8 @@ public: |
unsigned bitmapFields() const { return m_fieldsAsUnsigned[0]; } |
unsigned auxiliaryBitmapFields() const { return m_fieldsAsUnsigned[1]; } |
+ SkFontStyle skiaFontStyle() const; |
+ |
private: |
FontFamily m_familyList; // The list of font families to be used. |
RefPtr<FontFeatureSettings> m_featureSettings; |