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

Unified Diff: third_party/WebKit/Source/web/linux/WebFontRendering.cpp

Issue 1931393002: Introduce typeface cache in blink::FontCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip: others Created 4 years, 8 months 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
« no previous file with comments | « third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/linux/WebFontRendering.cpp
diff --git a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
index 63b21a3a5a4852496c5beaec261ba7ff1d172e35..c2feaaaac31299802eeaef16b99fb387edf2dfad 100644
--- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
@@ -50,31 +50,31 @@ void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr)
// static
void WebFontRendering::setHinting(SkPaint::Hinting hinting)
{
- FontPlatformData::setHinting(hinting);
+ FontRenderStyle::setHinting(hinting);
}
// static
void WebFontRendering::setAutoHint(bool useAutoHint)
{
- FontPlatformData::setAutoHint(useAutoHint);
+ FontRenderStyle::setAutoHint(useAutoHint);
}
// static
void WebFontRendering::setUseBitmaps(bool useBitmaps)
{
- FontPlatformData::setUseBitmaps(useBitmaps);
+ FontRenderStyle::setUseBitmaps(useBitmaps);
}
// static
void WebFontRendering::setAntiAlias(bool useAntiAlias)
{
- FontPlatformData::setAntiAlias(useAntiAlias);
+ FontRenderStyle::setAntiAlias(useAntiAlias);
}
// static
void WebFontRendering::setSubpixelRendering(bool useSubpixelRendering)
{
- FontPlatformData::setSubpixelRendering(useSubpixelRendering);
+ FontRenderStyle::setSubpixelRendering(useSubpixelRendering);
}
// static
« no previous file with comments | « third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698