[iOS] Password fields obscure the text with rectangles instead of circles
[WebKit-https.git] / Source / WebCore / platform / graphics / ios / FontCacheIOS.mm
index deeb97a..9e5ed9e 100644 (file)
@@ -45,7 +45,7 @@ namespace WebCore {
 
 bool requiresCustomFallbackFont(UChar32 character)
 {
-    return character == AppleLogo || character == blackCircle || character == narrowNonBreakingSpace;
+    return character == AppleLogo || character == narrowNonBreakingSpace;
 }
 
 FontPlatformData* FontCache::getCustomFallbackFont(const UInt32 c, const FontDescription& description)
@@ -53,7 +53,6 @@ FontPlatformData* FontCache::getCustomFallbackFont(const UInt32 c, const FontDes
     ASSERT(requiresCustomFallbackFont(c));
 
     static NeverDestroyed<AtomicString> helveticaFamily("Helvetica Neue", AtomicString::ConstructFromLiteral);
-    static NeverDestroyed<AtomicString> lockClockFamily("LockClock-Light", AtomicString::ConstructFromLiteral);
     static NeverDestroyed<AtomicString> timesNewRomanPSMTFamily("TimesNewRomanPSMT", AtomicString::ConstructFromLiteral);
 
     AtomicString* family = nullptr;
@@ -61,9 +60,6 @@ FontPlatformData* FontCache::getCustomFallbackFont(const UInt32 c, const FontDes
     case AppleLogo:
         family = &helveticaFamily.get();
         break;
-    case blackCircle:
-        family = &lockClockFamily.get();
-        break;
     case narrowNonBreakingSpace:
         family = &timesNewRomanPSMTFamily.get();
         break;