* platform/graphics/mac/FontCacheMac.mm:
(WebCore::fontWithFamily):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183582
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-04-29 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Unreviewed build fix.
+
+ * platform/graphics/mac/FontCacheMac.mm:
+ (WebCore::fontWithFamily):
+
2015-04-29 Eric Carlson <eric.carlson@apple.com>
Some media tests assert after r183096
#if ENABLE(PLATFORM_FONT_LOOKUP)
- if (family.length() > 0 && family[0] == '.')
+ if (family.length() > 0 && family.string().at(0) == '.')
return [NSFont fontWithName:desiredFamily size:size];
const auto& whitelist = fontWhitelist();
if (whitelist.size() && !whitelist.contains(family.lower()))