Title: [188185] trunk/Source/WebCore
- Revision
- 188185
- Author
- mmaxfi...@apple.com
- Date
- 2015-08-07 20:54:44 -0700 (Fri, 07 Aug 2015)
Log Message
[OS X] Remove dead code from FontCache::createFontPlatformData()
https://bugs.webkit.org/show_bug.cgi?id=147804
Reviewed by Zalan Bujtas.
CTFontCreateForCSS() always returns the best font.
No new tests because there is no behavior change.
* platform/graphics/mac/FontCacheMac.mm:
(WebCore::fontWithFamily):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (188184 => 188185)
--- trunk/Source/WebCore/ChangeLog 2015-08-08 03:45:21 UTC (rev 188184)
+++ trunk/Source/WebCore/ChangeLog 2015-08-08 03:54:44 UTC (rev 188185)
@@ -1,3 +1,17 @@
+2015-08-07 Myles C. Maxfield <mmaxfi...@apple.com>
+
+ [OS X] Remove dead code from FontCache::createFontPlatformData()
+ https://bugs.webkit.org/show_bug.cgi?id=147804
+
+ Reviewed by Zalan Bujtas.
+
+ CTFontCreateForCSS() always returns the best font.
+
+ No new tests because there is no behavior change.
+
+ * platform/graphics/mac/FontCacheMac.mm:
+ (WebCore::fontWithFamily):
+
2015-08-07 Zalan Bujtas <za...@apple.com>
Move painting functions from RenderObject to RenderElement.
Modified: trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm (188184 => 188185)
--- trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm 2015-08-08 03:45:21 UTC (rev 188184)
+++ trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm 2015-08-08 03:54:44 UTC (rev 188185)
@@ -380,8 +380,6 @@
font = [NSFont fontWithName:chosenFullName size:size];
-#endif
-
if (!font)
return nil;
@@ -412,6 +410,8 @@
font = fontWithoutSyntheticTraits;
}
+#endif
+
return font;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes