Remove dead code from FontCache
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Feb 2015 05:31:21 +0000 (05:31 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Feb 2015 05:31:21 +0000 (05:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141741

Reviewed by Daniel Bates.

Remove dead code from FontCache:
- getFontFamilyForCharacters() has no implementation.
- SimpleFontFamily is unused.

* platform/graphics/FontCache.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@180255 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/FontCache.h

index 30bb4f5..4d926e0 100644 (file)
@@ -1,5 +1,18 @@
 2015-02-17  Chris Dumez  <cdumez@apple.com>
 
+        Remove dead code from FontCache
+        https://bugs.webkit.org/show_bug.cgi?id=141741
+
+        Reviewed by Daniel Bates.
+
+        Remove dead code from FontCache:
+        - getFontFamilyForCharacters() has no implementation.
+        - SimpleFontFamily is unused.
+
+        * platform/graphics/FontCache.h:
+
+2015-02-17  Chris Dumez  <cdumez@apple.com>
+
         Rename CSSPropertyAnimationWrapperMap::instance() to singleton()
         https://bugs.webkit.org/show_bug.cgi?id=141739
 
index 2dfc9fb..a6e6376 100644 (file)
@@ -151,13 +151,6 @@ public:
     PassRefPtr<OpenTypeVerticalData> getVerticalData(const FontFileKey&, const FontPlatformData&);
 #endif
 
-    struct SimpleFontFamily {
-        String name;
-        bool isBold;
-        bool isItalic;
-    };
-    static void getFontFamilyForCharacters(const UChar* characters, size_t numCharacters, const char* preferredLocale, SimpleFontFamily*);
-
 private:
     FontCache();
     ~FontCache();