| Index: third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp b/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| index 4ed918f05526b39ba5cc6c7ba29f6b43a5111622..d16dc21a6bc27828e7feb08be4a5e9b2ec16a2a3 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| @@ -96,7 +96,7 @@ void FontPlatformData::setupPaint(SkPaint* paint, float deviceScaleFactor, const
|
| paint->setTextSkewX(m_syntheticItalic ? -SK_Scalar1 / 4 : 0);
|
| }
|
|
|
| -void FontPlatformData::querySystemForRenderStyle(bool useSkiaSubpixelPositioning)
|
| +void FontPlatformData::querySystemForRenderStyle()
|
| {
|
| WebFontRenderStyle style;
|
| #if OS(ANDROID)
|
| @@ -133,12 +133,7 @@ void FontPlatformData::querySystemForRenderStyle(bool useSkiaSubpixelPositioning
|
| // TestRunner specifically toggles the subpixel positioning flag.
|
| if (m_style.useSubpixelPositioning == FontRenderStyle::NoPreference
|
| || LayoutTestSupport::isRunningLayoutTest())
|
| - m_style.useSubpixelPositioning = useSkiaSubpixelPositioning;
|
| -}
|
| -
|
| -bool FontPlatformData::defaultUseSubpixelPositioning()
|
| -{
|
| - return FontDescription::subpixelPositioning();
|
| + m_style.useSubpixelPositioning = FontDescription::subpixelPositioning();
|
| }
|
|
|
| } // namespace blink
|
|
|