Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / fonts / win / FontPlatformDataWin.h
index 0756045..8ed0ff1 100644 (file)
@@ -53,7 +53,7 @@ typedef struct HFONT__ *HFONT;
 namespace WebCore {
 
 // Return a typeface associated with the hfont, and return its size and
-// lfQuality from the hfont's LOGFONT.
+// from the hfont's LOGFONT.
 PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT, int* size);
 
 class FontDescription;
@@ -95,7 +95,7 @@ public:
 #endif
     SkTypeface* typeface() const { return m_typeface.get(); }
     SkFontID uniqueID() const { return m_typeface->uniqueID(); }
-    int paintTextFlags() const;
+    int paintTextFlags() const { return m_paintTextFlags; }
 
     String fontFamilyName() const;
 
@@ -173,6 +173,7 @@ private:
     bool m_syntheticItalic;
 
     RefPtr<SkTypeface> m_typeface;
+    int m_paintTextFlags;
 
 #if USE(HARFBUZZ)
     mutable RefPtr<HarfBuzzFace> m_harfBuzzFace;