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 1833496cb099040c27e678772aac2403189ccfd1..4e326e63d6d83ef119233f178d937805f1454e8d 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" |
@@ -236,6 +237,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; |