Title: [180255] trunk/Source/WebCore
Revision
180255
Author
[email protected]
Date
2015-02-17 21:31:21 -0800 (Tue, 17 Feb 2015)

Log Message

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:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (180254 => 180255)


--- trunk/Source/WebCore/ChangeLog	2015-02-18 04:23:11 UTC (rev 180254)
+++ trunk/Source/WebCore/ChangeLog	2015-02-18 05:31:21 UTC (rev 180255)
@@ -1,5 +1,18 @@
 2015-02-17  Chris Dumez  <[email protected]>
 
+        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  <[email protected]>
+
         Rename CSSPropertyAnimationWrapperMap::instance() to singleton()
         https://bugs.webkit.org/show_bug.cgi?id=141739
 

Modified: trunk/Source/WebCore/platform/graphics/FontCache.h (180254 => 180255)


--- trunk/Source/WebCore/platform/graphics/FontCache.h	2015-02-18 04:23:11 UTC (rev 180254)
+++ trunk/Source/WebCore/platform/graphics/FontCache.h	2015-02-18 05:31:21 UTC (rev 180255)
@@ -151,13 +151,6 @@
     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();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to