Title: [185182] trunk/Source/WebCore
Revision
185182
Author
mmaxfi...@apple.com
Date
2015-06-03 19:55:07 -0700 (Wed, 03 Jun 2015)

Log Message

Remove dead code FontPlatformData::roundsGlyphAdvances()
https://bugs.webkit.org/show_bug.cgi?id=145628

Reviewed by Simon Fraser.

No new tests because there is no behavior change.

* WebCore.order:
* platform/graphics/FontPlatformData.h:
* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::roundsGlyphAdvances): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (185181 => 185182)


--- trunk/Source/WebCore/ChangeLog	2015-06-04 00:07:38 UTC (rev 185181)
+++ trunk/Source/WebCore/ChangeLog	2015-06-04 02:55:07 UTC (rev 185182)
@@ -1,3 +1,17 @@
+2015-06-03  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Remove dead code FontPlatformData::roundsGlyphAdvances()
+        https://bugs.webkit.org/show_bug.cgi?id=145628
+
+        Reviewed by Simon Fraser.
+
+        No new tests because there is no behavior change.
+
+        * WebCore.order:
+        * platform/graphics/FontPlatformData.h:
+        * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
+        (WebCore::FontPlatformData::roundsGlyphAdvances): Deleted.
+
 2015-06-03  Ryuan Choi  <ryuan.c...@navercorp.com>
 
         [CoordinatedGraphics] Merge CoordinatedTile into Tile

Modified: trunk/Source/WebCore/WebCore.order (185181 => 185182)


--- trunk/Source/WebCore/WebCore.order	2015-06-04 00:07:38 UTC (rev 185181)
+++ trunk/Source/WebCore/WebCore.order	2015-06-04 02:55:07 UTC (rev 185182)
@@ -352,7 +352,6 @@
 __ZN3WTF6VectorINS_9RetainPtrIPK8__CTLineEELm0ENS_15CrashOnOverflowEE15reserveCapacityEm
 __ZN7WebCore21ComplexTextController14ComplexTextRunC2EPK7__CTRunPKNS_14SimpleFontDataEPKtjm7CFRange
 __ZN7WebCore21ComplexTextController23adjustGlyphsAndAdvancesEv
-__ZNK7WebCore16FontPlatformData19roundsGlyphAdvancesEv
 __ZNK7WebCore14SimpleFontData22platformBoundsForGlyphEt
 __ZN3WTF6OwnPtrIN7WebCore15GlyphMetricsMapINS1_9FloatRectEEEEaSERKNS_10PassOwnPtrIS4_EE
 __ZN3WTF10PassOwnPtrIN7WebCore15GlyphMetricsMapINS1_9FloatRectEEEED2Ev

Modified: trunk/Source/WebCore/platform/graphics/FontPlatformData.h (185181 => 185182)


--- trunk/Source/WebCore/platform/graphics/FontPlatformData.h	2015-06-04 00:07:38 UTC (rev 185181)
+++ trunk/Source/WebCore/platform/graphics/FontPlatformData.h	2015-06-04 02:55:07 UTC (rev 185182)
@@ -115,7 +115,6 @@
     RetainPtr<CFTypeRef> objectForEqualityCheck() const;
 
     bool allowsLigatures() const;
-    bool roundsGlyphAdvances() const;
 
 #if USE(APPKIT)
     // FIXME: Remove this when all NSFont usage is removed.

Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm (185181 => 185182)


--- trunk/Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm	2015-06-04 00:07:38 UTC (rev 185181)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm	2015-06-04 02:55:07 UTC (rev 185182)
@@ -130,16 +130,6 @@
     m_ctFont = nullptr;
 }
 
-bool FontPlatformData::roundsGlyphAdvances() const
-{
-#if USE(APPKIT)
-    return [(NSFont *)m_font renderingMode] == NSFontAntialiasedIntegerAdvancementsRenderingMode;
-#else
-    return false;
-#endif
-}
-
-
 bool FontPlatformData::allowsLigatures() const
 {
     if (!m_font)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to