Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: Source/platform/fonts/win/FontPlatformDataWin.h

Issue 99333013: Don't check lfQuality in LOGFONT as it has no effect on rendering (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/fonts/win/FontPlatformDataWin.h
diff --git a/Source/platform/fonts/win/FontPlatformDataWin.h b/Source/platform/fonts/win/FontPlatformDataWin.h
index 5aa08c97b7b5f22e2effe67e514a6ea7de891d56..4fc0661730acaa6dccc3c1f1028bc44cd0d8248a 100644
--- a/Source/platform/fonts/win/FontPlatformDataWin.h
+++ b/Source/platform/fonts/win/FontPlatformDataWin.h
@@ -54,7 +54,7 @@ namespace WebCore {
// Return a typeface associated with the hfont, and return its size and
// lfQuality from the hfont's LOGFONT.
-PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT, int* size, int* paintTextFlags);
+PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT, int* size);
class FontDescription;
class GraphicsContext;
@@ -95,7 +95,7 @@ public:
#endif
SkTypeface* typeface() const { return m_typeface.get(); }
SkFontID uniqueID() const { return m_typeface->uniqueID(); }
- int paintTextFlags() const { return m_paintTextFlags; }
+ int paintTextFlags() const;
String fontFamilyName() const;
@@ -171,7 +171,6 @@ private:
bool m_fakeItalic;
RefPtr<SkTypeface> m_typeface;
- int m_paintTextFlags;
#if USE(HARFBUZZ)
mutable RefPtr<HarfBuzzFace> m_harfBuzzFace;

Powered by Google App Engine
This is Rietveld 408576698