Title: [188104] trunk/Source/WebCore
Revision
188104
Author
mmaxfi...@apple.com
Date
2015-08-06 18:36:03 -0700 (Thu, 06 Aug 2015)

Log Message

[iOS] Remove dead code from FontCache::createFontPlatformData()
https://bugs.webkit.org/show_bug.cgi?id=147762

Reviewed by Andy Estes.

No new tests because there is no behavior change.

* platform/graphics/ios/FontCacheIOS.mm:
(WebCore::FontCache::createFontPlatformData): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188103 => 188104)


--- trunk/Source/WebCore/ChangeLog	2015-08-07 01:29:22 UTC (rev 188103)
+++ trunk/Source/WebCore/ChangeLog	2015-08-07 01:36:03 UTC (rev 188104)
@@ -1,3 +1,15 @@
+2015-08-06  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        [iOS] Remove dead code from FontCache::createFontPlatformData()
+        https://bugs.webkit.org/show_bug.cgi?id=147762
+
+        Reviewed by Andy Estes.
+
+        No new tests because there is no behavior change.
+
+        * platform/graphics/ios/FontCacheIOS.mm:
+        (WebCore::FontCache::createFontPlatformData): Deleted.
+
 2015-08-06  Alex Christensen  <achristen...@webkit.org>
 
         Revert part of my "build fix" in r188101.

Modified: trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm (188103 => 188104)


--- trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm	2015-08-07 01:29:22 UTC (rev 188103)
+++ trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm	2015-08-07 01:36:03 UTC (rev 188104)
@@ -677,13 +677,6 @@
 
 std::unique_ptr<FontPlatformData> FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family)
 {
-    // Special case for "Courier" font. We used to have only an oblique variant on iOS, so prior to
-    // iOS 6.0, we disallowed its use here. We'll fall back on "Courier New". <rdar://problem/5116477&10850227>
-    static NeverDestroyed<AtomicString> courier("Courier", AtomicString::ConstructFromLiteral);
-    static bool shouldDisallowCourier = !iosExecutableWasLinkedOnOrAfterVersion(wkIOSSystemVersion_6_0);
-    if (shouldDisallowCourier && equalIgnoringCase(family, courier))
-        return nullptr;
-
     CTFontSymbolicTraits traits = 0;
     if (fontDescription.italic())
         traits |= kCTFontTraitItalic;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to