From 37e5df053024c1158b436ff0cd843116c25bdf14 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Fri, 13 Apr 2018 12:12:06 -0400 Subject: [PATCH] Remove only use of SkPaint::kGenA8FromLCD (#4994) Skia is removing SkPaint::kGenA8FromLCD (this information is now part of the SkPixelGeometry on SkSurface). This flag never appears to be mentioned anywhere else in the code and appears to be left over from being copied from blink (this code in blink used to set this flag conditionally). --- sky/engine/platform/fonts/win/FontPlatformDataWin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sky/engine/platform/fonts/win/FontPlatformDataWin.cpp b/sky/engine/platform/fonts/win/FontPlatformDataWin.cpp index 00e9db7f7541b..39f5d6bb05aa0 100644 --- a/sky/engine/platform/fonts/win/FontPlatformDataWin.cpp +++ b/sky/engine/platform/fonts/win/FontPlatformDataWin.cpp @@ -54,8 +54,7 @@ void FontPlatformData::setupPaint(SkPaint* paint, uint32_t textFlags = paintTextFlags(); uint32_t flags = paint->getFlags(); static const uint32_t textFlagsMask = SkPaint::kAntiAlias_Flag | - SkPaint::kLCDRenderText_Flag | - SkPaint::kGenA8FromLCD_Flag; + SkPaint::kLCDRenderText_Flag; flags &= ~textFlagsMask; if (ts <= kMaxSizeForEmbeddedBitmap)