Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 37e5df0

Browse files
authored
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).
1 parent b7358b3 commit 37e5df0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎sky/engine/platform/fonts/win/FontPlatformDataWin.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ void FontPlatformData::setupPaint(SkPaint* paint,
5454
uint32_t textFlags = paintTextFlags();
5555
uint32_t flags = paint->getFlags();
5656
static const uint32_t textFlagsMask = SkPaint::kAntiAlias_Flag |
57-
SkPaint::kLCDRenderText_Flag |
58-
SkPaint::kGenA8FromLCD_Flag;
57+
SkPaint::kLCDRenderText_Flag;
5958
flags &= ~textFlagsMask;
6059

6160
if (ts <= kMaxSizeForEmbeddedBitmap)

0 commit comments

Comments
 (0)