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

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

Issue 1944993003: Move most of FontRenderStyle manipulation code into its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more typo fix Created 4 years, 7 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/fonts/linux/FontRenderStyle.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..ff3c899f9d467a97e6a2ef9a98e841f59768c888 100644
--- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
@@ -33,7 +33,7 @@
#include "core/layout/LayoutThemeFontProvider.h"
#include "platform/fonts/FontCache.h"
#include "platform/fonts/FontDescription.h"
-#include "platform/fonts/FontPlatformData.h"
+#include "platform/fonts/linux/FontRenderStyle.h"
using blink::FontDescription;
using blink::FontPlatformData;
@@ -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/fonts/linux/FontRenderStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698